BufferItempublic class JsonTokener extends Tokener
| Modifier and Type | Field | Description |
|---|---|---|
static char |
COMMENT |
|
static java.lang.String |
STOPCHARS |
The Constant JSON_PROPS.
|
QUOTES, SPACE| Constructor | Description |
|---|---|
JsonTokener() |
| Modifier and Type | Method | Description |
|---|---|---|
Entity |
createLink(Entity parent,
java.lang.String property,
java.lang.String className,
java.lang.String id) |
|
java.lang.Object |
decoding(JsonObject jsonObject,
MapEntity map,
boolean kid) |
Read json.
|
Entity |
newInstance() |
|
EntityList |
newInstanceList() |
|
java.lang.Object |
nextValue(BaseItem creator,
boolean allowQuote,
boolean allowDuppleMarks,
char stopChar) |
Get the NextVlaue
|
JsonObject |
parseEntity(JsonObject parent,
SimpleKeyValueList<?,?> newValue) |
|
boolean |
parseToEntity(Entity entity) |
|
void |
parseToEntity(EntityList entityList) |
|
JsonObject |
parseToEntity(JsonObject parent,
SimpleKeyValueList<?,?> newValue) |
Cross compiling
|
JsonTokener |
withMap(IdMap map) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, checkValues, encode, getByte, getChar, getCreator, getCreatorClass, getCurrentChar, getId, getKey, getMap, getObject, getString, getStringList, isChild, isEmpty, isEnd, isError, length, nextClean, nextString, nextString, nextString, nextToken, notify, position, remaining, skip, skip, skipChar, skipTo, skipTo, splitStrings, transformValue, withBuffer, withBuffer, withLookAHead, withLookAHeadpublic static final java.lang.String STOPCHARS
public static final char COMMENT
public void parseToEntity(EntityList entityList)
parseToEntity in class Tokenerpublic java.lang.Object nextValue(BaseItem creator, boolean allowQuote, boolean allowDuppleMarks, char stopChar)
BufferItemnextValue in interface BufferItemnextValue in class Tokenercreator - Creator for creating Child ItemallowQuote - Is it allow Quote in NextValueallowDuppleMarks - Is allow DuppleMarksstopChar - CurrentCharpublic boolean parseToEntity(Entity entity)
parseToEntity in class Tokenerpublic JsonObject parseEntity(JsonObject parent, SimpleKeyValueList<?,?> newValue)
public JsonObject parseToEntity(JsonObject parent, SimpleKeyValueList<?,?> newValue)
parent - the parent ElementnewValue - the newValuepublic java.lang.Object decoding(JsonObject jsonObject, MapEntity map, boolean kid)
jsonObject - the json objectmap - decoding runtime valueskid - Is it a Kid Decoding so Target from Map is not the Targetpublic JsonTokener withMap(IdMap map)
public Entity newInstance()
newInstance in class Tokenerpublic EntityList newInstanceList()
newInstanceList in class Tokenerpublic Entity createLink(Entity parent, java.lang.String property, java.lang.String className, java.lang.String id)
createLink in class Tokener