public class JsonTokener extends Tokener
| Modifier and Type | Field and Description |
|---|---|
static char |
COMMENT |
static char |
ENDARRAY |
static char |
ENDENTITY |
static char |
STARTARRAY |
static char |
STARTENTITY |
static java.lang.String |
STOPCHARS
The Constant JSON_PROPS.
|
SPACE| Constructor and Description |
|---|
JsonTokener() |
| Modifier and Type | Method and 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) |
array, checkValues, encode, getByte, getChar, getCreator, getCreatorClass, getCurrentChar, getId, getKey, getMap, getObject, getString, getStringList, isChild, isEmpty, isEnd, isError, length, nextClean, 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 static final char STARTARRAY
public static final char ENDARRAY
public static final char STARTENTITY
public static final char ENDENTITY
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