class JSONParserString extends JSONParserMemory
JSONParserBase.MSBacceptLeadinZero, acceptNaN, acceptNonQuote, acceptSimpleQuote, acceptUselessComma, c, checkTaillingData, checkTaillingSpace, containerFactory, EOI, handler, ignoreControlChar, MAX_STOP, pos, sb, stopAll, stopArray, stopKey, stopValue, stopX, useHiPrecisionFloat, useIntegerStorage, xo, xslen| 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, skipSpaceextractStringTrim, readNQString, readNumber, readStringpublic Object parse(String in) throws ParseException
ParseExceptionpublic Object parse(String in, ContainerFactory containerFactory) throws ParseException
ParseExceptionpublic Object parse(String in, ContainerFactory containerFactory, ContentHandler handler) throws ParseException
ParseExceptionprotected void extractString(int beginIndex,
int endIndex)
extractString in class JSONParserMemoryprotected int indexOf(char c,
int pos)
indexOf in class JSONParserMemoryprotected void read()
read in class JSONParserBaseprotected void readS()
readS in class JSONParserBaseprotected void readNoEnd()
throws ParseException
readNoEnd in class JSONParserBaseParseException