| Modifier and Type | Class and Description |
|---|---|
static class |
JSonModel.KeyType |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<Object>> |
arrayDataMap |
protected Map<String,JSonModel> |
dataMap |
protected Map<String,String> |
mainMap |
| Constructor and Description |
|---|
JSonModel() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
checkKey(String key) |
void |
fromJson(byte[] json) |
protected void |
fromJson(org.codehaus.jackson.JsonParser jp) |
protected abstract JSonModel |
generateInternalArrayObject(String key,
int element) |
protected abstract JSonModel |
generateInternalObject(String key) |
String |
toJson() |
protected void |
toJson(org.codehaus.jackson.JsonGenerator g) |
String |
toString() |
protected abstract int checkKey(String key)
protected abstract JSonModel generateInternalArrayObject(String key, int element)
protected void fromJson(org.codehaus.jackson.JsonParser jp)
throws Exception
Exceptionprotected void toJson(org.codehaus.jackson.JsonGenerator g)
throws Exception
ExceptionCopyright © 2017. All Rights Reserved.