public interface JzonObject extends JzonElement
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key,
JzonElement prop)
Adds an element with the given key.
|
void |
addProperty(String key,
int prop)
Adds an integer with the given key.
|
Collection<? extends Map.Entry<String,JzonElement>> |
entrySet() |
JzonElement |
get(String key)
Returns element at given key.
|
boolean |
has(String key)
Returns if this object has an element with the given key.
|
void |
remove(String key)
Removes an element with the given key.
|
isJsonArray, isJsonNull, isJsonObject, isJsonPrimitive, unwrapboolean has(String key)
key - - the key to look forvoid add(String key, JzonElement prop)
key - - the key for the new elementvoid addProperty(String key, int prop)
key - - the key for the new integerCollection<? extends Map.Entry<String,JzonElement>> entrySet()
JzonElement get(String key)
key - - key to look forvoid remove(String key)
key - - key to look forCopyright © 2015. All Rights Reserved.