|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.text.json.JsonElementObject
public class JsonElementObject
JSON Object element.
You will only use the JsonElements when you register a JsonReadBeanVisitor. The JSON elements that are not mapped to a bean property are made available to the JsonReadBeanVisitor.
JsonReadBeanVisitor
Constructor Summary | |
---|---|
JsonElementObject()
|
Method Summary | |
---|---|
Set<Map.Entry<String,JsonElement>> |
entrySet()
|
JsonElement |
get(String key)
|
JsonElement |
getValue(String key)
|
boolean |
isPrimitive()
Return true if this is a JSON primitive type (null, boolean, number or string). |
Set<String> |
keySet()
|
void |
put(String key,
JsonElement value)
|
String |
toPrimitiveString()
Return the string value of this primitive JSON element. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsonElementObject()
Method Detail |
---|
public void put(String key, JsonElement value)
public JsonElement get(String key)
public JsonElement getValue(String key)
public Set<String> keySet()
public Set<Map.Entry<String,JsonElement>> entrySet()
public String toString()
toString
in class Object
public boolean isPrimitive()
JsonElement
isPrimitive
in interface JsonElement
public String toPrimitiveString()
JsonElement
This can not be used for JsonElementObject or JsonElementArray.
toPrimitiveString
in interface JsonElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |