public interface JsonElement
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| Modifier and Type | Method and Description |
|---|---|
Object |
eval(String exp) |
boolean |
evalBoolean(String exp) |
int |
evalInt(String exp) |
String |
evalString(String exp) |
boolean |
isPrimitive()
Return true if this is a JSON primitive type (null, boolean, number or
string).
|
String |
toPrimitiveString()
Return the string value of this primitive JSON element.
|
boolean isPrimitive()
String toPrimitiveString()
This can not be used for JsonElementObject or JsonElementArray.
int evalInt(String exp)
boolean evalBoolean(String exp)
Copyright © 2014. All Rights Reserved.