class JSONParserByteArray extends JSONParserMemory
JSONParserBase.MSB| Modifier and Type | Field and Description |
|---|---|
private byte[] |
in |
lenacceptLeadinZero, acceptNaN, acceptNonQuote, acceptSimpleQuote, acceptUselessComma, base, c, checkTaillingData, checkTaillingSpace, EOI, ignoreControlChar, MAX_STOP, pos, sb, stopAll, stopArray, stopKey, stopValue, stopX, useHiPrecisionFloat, useIntegerStorage, xo, xs| Constructor and Description |
|---|
JSONParserByteArray(int permissiveMode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractString(int beginIndex,
int endIndex) |
protected void |
extractStringTrim(int start,
int stop) |
protected int |
indexOf(char c,
int pos) |
java.lang.Object |
parse(byte[] in)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
<T> T |
parse(byte[] in,
JsonReaderI<T> mapper)
use to return Primitive Type, or String, Or JsonObject or JsonArray
generated by a ContainerFactory
|
protected void |
read() |
protected void |
readNoEnd()
read data can not be EOI
|
protected void |
readS()
Same as read() in memory parsing
|
readNQString, readNumber, readStringcheckControleChar, checkLeadinZero, extractFloat, parse, parseNumber, readArray, readFirst, readMain, readObject, readString2, readUnicode, skipDigits, skipNQString, skipSpacepublic java.lang.Object parse(byte[] in)
throws ParseException
ParseExceptionpublic <T> T parse(byte[] in,
JsonReaderI<T> mapper)
throws ParseException
ParseExceptionprotected void extractString(int beginIndex,
int endIndex)
extractString in class JSONParserMemoryprotected void extractStringTrim(int start,
int stop)
extractStringTrim 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