public class ReadJsonContext extends ReadBasicJsonContext
Modifier and Type | Class and Description |
---|---|
static class |
ReadJsonContext.ReadBeanState |
Constructor and Description |
---|
ReadJsonContext(ReadJsonSource src,
JsonValueAdapter dfltValueAdapter,
JsonReadOptions options) |
Modifier and Type | Method and Description |
---|---|
JsonValueAdapter |
getValueAdapter() |
ReadJsonContext.ReadBeanState |
popBeanState() |
void |
pushBean(Object bean,
String path,
BeanDescriptor<?> beanDescriptor) |
String |
readScalarValue() |
JsonElement |
readUnmappedJson(String key)
Got a key that doesn't map to a known property so read the json value
which could be json primitive, object or array.
|
void |
setProperty(String propertyName) |
getToken, getTokenKey, ignoreWhiteSpace, isTokenKey, isTokenObjectEnd, nextChar, pushTokenKey, readArrayBegin, readArrayNext, readKeyNext, readNextToken, readObjectBegin, readQuotedValue, readUnquotedValue, readValueNext
public ReadJsonContext(ReadJsonSource src, JsonValueAdapter dfltValueAdapter, JsonReadOptions options)
public JsonValueAdapter getValueAdapter()
public String readScalarValue()
public void pushBean(Object bean, String path, BeanDescriptor<?> beanDescriptor)
public ReadJsonContext.ReadBeanState popBeanState()
public void setProperty(String propertyName)
public JsonElement readUnmappedJson(String key)
Provide these values to a JsonReadBeanVisitor if registered.
Copyright © 2015. All Rights Reserved.