public class ObjectValue extends JsonValue
| Constructor and Description |
|---|
ObjectValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(String key,
JsonValue child)
Add child value.
|
JsonValue |
getElement(String key)
Get value by key.
|
Iterator<String> |
getKeys()
Get all keys for access values.
|
boolean |
isObject() |
String |
toString() |
void |
writeTo(JsonWriter writer)
Write value in given writer.
|
addElement, getBooleanValue, getByteValue, getDoubleValue, getElements, getFloatValue, getIntValue, getLongValue, getNumberValue, getShortValue, getStringValue, isArray, isBoolean, isDouble, isLong, isNull, isNumeric, isString, sizepublic void addElement(String key, JsonValue child)
addElement in class JsonValuekey - the key.child - the child value.public boolean isObject()
public JsonValue getElement(String key)
getElement in class JsonValuekey - the key.public void writeTo(JsonWriter writer) throws JsonException
writeTo in class JsonValuewriter - Writer.JsonException - if any errors occurs.Copyright © 2018 eXo Platform SAS. All Rights Reserved.