-
- All Implemented Interfaces:
-
io.kjson.JSONValue,kotlin.collections.Map
public final class JSONObject implements JSONValue, Map<String, JSONValue>
A JSON object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJSONObject.Companionpublic final classJSONObject.Builder
-
Method Summary
Modifier and Type Method Description Set<Entry.Map<String, JSONValue>>getEntries()Set<String>getKeys()IntegergetSize()Collection<JSONValue>getValues()UnitappendTo(Appendable a)BooleanisEmpty()BooleancontainsKey(String key)BooleancontainsValue(JSONValue value)JSONValueget(String key)Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getEntries
Set<Entry.Map<String, JSONValue>> getEntries()
-
getValues
Collection<JSONValue> getValues()
-
appendTo
Unit appendTo(Appendable a)
-
containsKey
Boolean containsKey(String key)
-
containsValue
Boolean containsValue(JSONValue value)
-
-
-
-