public class JsonObjectImpl
extends java.lang.Object
Constructor and Description |
---|
JsonObjectImpl(javax.json.JsonObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<<any>> |
entrySet() |
JsonValue |
get(java.lang.Object key) |
boolean |
getBoolean(java.lang.String name) |
boolean |
getBoolean(java.lang.String name,
boolean defaultValue) |
int |
getInt(java.lang.String name) |
int |
getInt(java.lang.String name,
int defaultValue) |
JsonArray |
getJsonArray(java.lang.String name) |
JsonNumber |
getJsonNumber(java.lang.String name) |
JsonObject |
getJsonObject(java.lang.String name) |
JsonString |
getJsonString(java.lang.String name) |
java.lang.String |
getString(java.lang.String name) |
java.lang.String |
getString(java.lang.String name,
java.lang.String defaultValue) |
ValueType |
getValueType() |
boolean |
isEmpty() |
boolean |
isNull(java.lang.String name) |
java.util.Set<java.lang.String> |
keySet() |
JsonValue |
put(java.lang.String key,
JsonValue value) |
void |
putAll(java.util.Map<? extends java.lang.String,? extends JsonValue> m) |
JsonValue |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<JsonValue> |
values() |
public JsonArray getJsonArray(java.lang.String name)
public JsonObject getJsonObject(java.lang.String name)
public JsonNumber getJsonNumber(java.lang.String name)
public JsonString getJsonString(java.lang.String name)
public java.lang.String getString(java.lang.String name)
public java.lang.String getString(java.lang.String name, java.lang.String defaultValue)
public int getInt(java.lang.String name)
public int getInt(java.lang.String name, int defaultValue)
public boolean getBoolean(java.lang.String name)
public boolean getBoolean(java.lang.String name, boolean defaultValue)
public boolean isNull(java.lang.String name)
public ValueType getValueType()
public int size()
public boolean isEmpty()
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public JsonValue get(java.lang.Object key)
public JsonValue put(java.lang.String key, JsonValue value)
public JsonValue remove(java.lang.Object key)
public void putAll(java.util.Map<? extends java.lang.String,? extends JsonValue> m)
public void clear()
public java.util.Set<java.lang.String> keySet()
public java.util.Collection<JsonValue> values()
public java.util.Set<<any>> entrySet()
public java.lang.String toString()
toString
in class java.lang.Object