JsonObject
class JsonObject(content: Map<String, JsonElement>) : JsonElement, Map<String, JsonElement>
Content copied to clipboard
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.