class JSONParserString extends JSONParserMemory
JSONParserBase.MSB
acceptLeadinZero, acceptNaN, acceptNonQuote, acceptSimpleQuote, acceptUselessComma, c, checkTaillingData, checkTaillingSpace, containerFactory, EOI, handler, ignoreControlChar, MAX_STOP, pos, sb, stopAll, stopArray, stopKey, stopValue, stopX, useHiPrecisionFloat, useIntegerStorage, xo, xs
len
Constructor | Description |
---|---|
JSONParserString(int permissiveMode) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
extractString(int beginIndex,
int endIndex) |
|
protected int |
indexOf(char c,
int pos) |
|
Object |
parse(String in) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(String in,
ContainerFactory containerFactory) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(String in,
ContainerFactory containerFactory,
ContentHandler handler) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
protected void |
read() |
Read next char or END OF INPUT
|
protected void |
readNoEnd() |
read data can not be EOI
|
protected void |
readS() |
Same as read() in memory parsing
|
checkControleChar, checkLeadinZero, extractFloat, parse, parseNumber, readArray, readMain, readObject, readString2, readUnicode, skipDigits, skipNQString, skipSpace
extractStringTrim, readNQString, readNumber, readString
public Object parse(String in) throws ParseException
ParseException
public Object parse(String in, ContainerFactory containerFactory) throws ParseException
ParseException
public Object parse(String in, ContainerFactory containerFactory, ContentHandler handler) throws ParseException
ParseException
protected void extractString(int beginIndex, int endIndex)
extractString
in class JSONParserMemory
protected int indexOf(char c, int pos)
indexOf
in class JSONParserMemory
protected void read()
read
in class JSONParserBase
protected void readS()
readS
in class JSONParserBase
protected void readNoEnd() throws ParseException
readNoEnd
in class JSONParserBase
ParseException