Constructor and Description |
---|
JsonObject() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Set<Map.Entry<String,JsonValue>> |
entrySet() |
boolean |
equals(Object other) |
JsonValue |
get(String key) |
JsonObject |
getAsObject() |
int |
hashCode() |
boolean |
hasKey(Object key) |
boolean |
isEmpty() |
boolean |
isObject() |
Set<String> |
keys() |
Set<String> |
keySet() |
JsonValue |
put(String key,
boolean b) |
JsonValue |
put(String key,
JsonValue value) |
JsonValue |
put(String key,
long value) |
JsonValue |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends JsonValue> m) |
JsonValue |
remove(Object key) |
int |
size() |
Collection<JsonValue> |
values() |
void |
visit(JsonVisitor visitor) |
getAsArray, getAsBoolean, getAsNumber, getAsString, isArray, isBoolean, isNull, isNumber, isPrimitive, isString, output, toString
public JsonObject getAsObject()
getAsObject
in class JsonValue
public void visit(JsonVisitor visitor)
public void clear()
public boolean hasKey(Object key)
public boolean isEmpty()
public int size()
public Collection<JsonValue> values()
Licenced under the Apache License, Version 2.0