JsonObject
class JsonObject(content: Map<String, JsonElement>) : JsonElement, Map<String, JsonElement> (source)
Class representing JSON object, consisting of name-value pairs, where value is arbitrary JsonElement
Since this class also implements Map interface, you can use traditional methods like Map.get or Map.getValue to obtain Json elements.
Properties
Link copied to clipboard
Convenience method to get current element as JsonArray
Link copied to clipboard
Convenience method to get current element as JsonNull
Link copied to clipboard
Convenience method to get current element as JsonObject
Link copied to clipboard
Convenience method to get current element as JsonPrimitive
Link copied to clipboard