JSONParserInputStream
class JSONParserReader extends JSONParserStream
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
Constructor | Description |
---|---|
JSONParserReader(int permissiveMode) |
Modifier and Type | Method | Description |
---|---|---|
Object |
parse(Reader in) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(Reader in,
ContainerFactory containerFactory) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(Reader in,
ContainerFactory containerFactory,
ContentHandler handler) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
protected void |
read() |
Read one char in this.c
|
protected void |
readNoEnd() |
|
protected void |
readS() |
store and read
|
checkControleChar, checkLeadinZero, extractFloat, parse, parseNumber, readArray, readMain, readObject, readString2, readUnicode, skipDigits, skipNQString, skipSpace
readNQString, readNumber, readString
public Object parse(Reader in) throws ParseException
ParseException
public Object parse(Reader in, ContainerFactory containerFactory) throws ParseException
ParseException
public Object parse(Reader in, ContainerFactory containerFactory, ContentHandler handler) throws ParseException
ParseException
protected void read() throws IOException
JSONParserBase
read
in class JSONParserBase
IOException
protected void readS() throws IOException
JSONParserBase
readS
in class JSONParserBase
IOException
protected void readNoEnd() throws ParseException, IOException
readNoEnd
in class JSONParserBase
ParseException
IOException