class JSONParserByteArray 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 |
|---|---|
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, skipSpaceextractStringTrim, readNQString, readNumber, readStringpublic Object parse(byte[] in) throws ParseException
ParseExceptionpublic Object parse(byte[] in, ContainerFactory containerFactory) throws ParseException
ParseExceptionpublic Object parse(byte[] in, ContainerFactory containerFactory, ContentHandler handler) throws ParseException
ParseExceptionpublic Object parse(byte[] in, int offset, int length, 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()
JSONParserBaseread in class JSONParserBaseprotected void readS()
readS in class JSONParserBaseprotected void readNoEnd()
throws ParseException
readNoEnd in class JSONParserBaseParseException