public class KsonDeserializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG_STACK |
protected KsonCharInput |
in |
protected KsonTypeMapper |
mapper |
protected Stack<org.nustaq.kson.KsonDeserializer.ParseStep> |
stack |
protected boolean |
supportJSon |
| Constructor and Description |
|---|
KsonDeserializer(KsonCharInput in,
KsonTypeMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
KsonArgTypesResolver |
getArgTypesRessolver() |
protected boolean |
isFromStringValue(Class type) |
protected boolean |
isIdPart(int ch) |
protected boolean |
isIdStart(int ch) |
boolean |
isSupportJSon() |
protected String |
readId() |
protected List |
readList(Class[] keyType,
Class[] valueType) |
protected List |
readList(Class keyType,
Class valueType) |
protected long |
readLong() |
protected String |
readNums() |
Object |
readObject(Class expect,
Class genericKeyType,
Class genericValueType) |
protected List |
readObjectFields(FSTClazzInfo targetClz) |
protected String |
readString(boolean quoted) |
protected Object |
readValue(Class expected,
Class genericKeyType,
Class genericValueType) |
protected String |
scanJSonType() |
KsonDeserializer |
setArgTypesRessolver(KsonArgTypesResolver argTypesRessolver) |
void |
skipWS() |
KsonDeserializer |
supportJSon(boolean supportJSon) |
public static boolean DEBUG_STACK
protected KsonCharInput in
protected KsonTypeMapper mapper
protected Stack<org.nustaq.kson.KsonDeserializer.ParseStep> stack
protected boolean supportJSon
public KsonDeserializer(KsonCharInput in, KsonTypeMapper mapper)
public boolean isSupportJSon()
public KsonDeserializer supportJSon(boolean supportJSon)
public void skipWS()
public Object readObject(Class expect, Class genericKeyType, Class genericValueType) throws Exception
Exceptionprotected String scanJSonType()
protected List readObjectFields(FSTClazzInfo targetClz) throws Exception
Exceptionpublic KsonArgTypesResolver getArgTypesRessolver()
public KsonDeserializer setArgTypesRessolver(KsonArgTypesResolver argTypesRessolver)
protected List readList(Class[] keyType, Class[] valueType) throws Exception
Exceptionprotected Object readValue(Class expected, Class genericKeyType, Class genericValueType) throws Exception
Exceptionprotected boolean isFromStringValue(Class type)
protected long readLong()
protected String readString(boolean quoted)
protected String readNums()
protected String readId()
protected boolean isIdPart(int ch)
protected boolean isIdStart(int ch)
Copyright © 2015. All rights reserved.