Package io.kjson
Class JSONKt
-
- All Implemented Interfaces:
public final class JSONKt
-
-
Method Summary
Modifier and Type Method Description final static JSONArraytoJSONArray(List<JSONValue> $self)Convert a List of JSONValue items to a JSONArray. final static JSONObjecttoJSONObject(Map<String, JSONValue> $self)Convert a Map to a JSONObject. final static JSONObjecttoJSONObject(List<JSONObject.Property> $self, JSONObject.DuplicateKeyOption duplicateKeyOption)Convert a List of JSONObject.Propertys to a JSONObject. -
-
Method Detail
-
toJSONArray
final static JSONArray toJSONArray(List<JSONValue> $self)
-
toJSONObject
final static JSONObject toJSONObject(Map<String, JSONValue> $self)
Convert a Map to a JSONObject.
-
toJSONObject
final static JSONObject toJSONObject(List<JSONObject.Property> $self, JSONObject.DuplicateKeyOption duplicateKeyOption)
Convert a List of JSONObject.Propertys to a JSONObject.
-
-
-
-