class JSONParserByteArray 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 |
---|---|
JSONParserByteArray(int permissiveMode) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
extractString(int beginIndex,
int endIndex) |
|
protected int |
indexOf(char c,
int pos) |
|
Object |
parse(byte[] in) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(byte[] in,
int offset,
int length,
ContainerFactory containerFactory,
ContentHandler handler) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
Processing from offset position until length
|
Object |
parse(byte[] in,
ContainerFactory containerFactory) |
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
Object |
parse(byte[] 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() |
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(byte[] in) throws ParseException
ParseException
public Object parse(byte[] in, ContainerFactory containerFactory) throws ParseException
ParseException
public Object parse(byte[] in, ContainerFactory containerFactory, ContentHandler handler) throws ParseException
ParseException
public Object parse(byte[] in, int offset, int length, 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()
JSONParserBase
read
in class JSONParserBase
protected void readS()
readS
in class JSONParserBase
protected void readNoEnd() throws ParseException
readNoEnd
in class JSONParserBase
ParseException