-
public final class JsonUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitputObject(JSONObject $self, String name, Function1<JSONObject, Unit> init)final static StringgetStringOrNull(JSONObject $self, String name)final static Unitprepend(JSONArray $self, Object value)final static JSONObjectreadJson(Parcel $self)final static UnitwriteJson(Parcel $self, JSONObject json)final static JSONArrayfilterObjects(JSONArray $self, Function1<JSONObject, Boolean> predicate)-
-
Method Detail
-
putObject
final static Unit putObject(JSONObject $self, String name, Function1<JSONObject, Unit> init)
-
getStringOrNull
final static String getStringOrNull(JSONObject $self, String name)
-
readJson
final static JSONObject readJson(Parcel $self)
-
writeJson
final static Unit writeJson(Parcel $self, JSONObject json)
-
filterObjects
final static JSONArray filterObjects(JSONArray $self, Function1<JSONObject, Boolean> predicate)
-
-
-
-