public abstract class JsonBaseByteArrayParser extends BaseJsonParser
| Modifier and Type | Field and Description |
|---|---|
protected int |
__currentChar |
protected int |
__index |
protected static int |
BELL |
protected CharBuf |
builder |
protected byte[] |
charArray |
protected static int |
COLON |
protected static byte[] |
FALSE |
protected static int |
FORM_FEED |
protected static int |
LETTER_A |
protected static int |
LETTER_F |
protected static int |
LETTER_L |
protected static int |
LETTER_N |
protected static int |
LETTER_R |
protected static int |
LETTER_S |
protected static int |
LETTER_T |
protected static int |
LETTER_U |
protected static int |
NEW_LINE |
protected static byte[] |
NULL |
protected static int |
OPEN_BRACKET |
protected static int |
OPEN_CURLY |
protected static int |
RETURN |
protected static int |
SPACE |
protected static int |
TAB |
protected static byte[] |
TRUE |
ALPHA_0, ALPHA_1, ALPHA_2, ALPHA_3, ALPHA_4, ALPHA_5, ALPHA_6, ALPHA_7, ALPHA_8, ALPHA_9, bufSize, charset, CLOSED_BRACKET, CLOSED_CURLY, COMMA, DECIMAL_POINT, DOUBLE_QUOTE, ESCAPE, fieldsAccessor, internedKeysCache, internKeys, LETTER_BIG_E, LETTER_E, MINUS, PLUS| Constructor and Description |
|---|
JsonBaseByteArrayParser(FieldsAccessor fieldsAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
charDescription(int c) |
protected void |
complain(String complaint) |
protected boolean |
decodeFalse() |
protected List |
decodeJsonArray() |
protected Object |
decodeJsonObject() |
protected Object |
decodeNull() |
protected abstract String |
decodeString() |
protected boolean |
decodeTrue() |
protected Object |
decodeValue() |
protected String |
exceptionDetails(String message) |
protected boolean |
hasMore() |
protected int |
nextChar() |
Object |
parse(byte[] bytes) |
Object |
parse(byte[] bytes,
Charset charset) |
Object |
parse(char[] chars) |
<T> T |
parse(Class<T> type,
byte[] bytes) |
<T> T |
parse(Class<T> type,
byte[] bytes,
Charset charset) |
<T> T |
parse(Class<T> type,
char[] chars) |
<T> T |
parse(Class<T> type,
CharSequence charSequence) |
<T> T |
parse(Class<T> type,
InputStream input) |
<T> T |
parse(Class<T> type,
String str) |
Object |
parse(String string) |
<T> T |
parseAsStream(Class<T> type,
byte[] value) |
<T> T |
parseDirect(Class<T> type,
byte[] value) |
<T> T |
parseFile(Class<T> type,
String fileName) |
protected void |
skipWhiteSpace() |
close, convert, findEndQuote, hasEscapeChar, isDecimalChar, isDelimiter, isDoubleQuote, isEscape, isNumberDigit, parse, parse, parse, parse, parse, parse, parseAsStream, parseBigDecimal, parseBigDecimal, parseBigDecimal, parseBigDecimal, parseBigDecimal, parseBigDecimal, parseBigDecimal, parseBigDecimalFromFile, parseBigInteger, parseBigInteger, parseBigInteger, parseBigInteger, parseBigInteger, parseBigInteger, parseBigInteger, parseBigIntegerFile, parseByte, parseByteArray, parseChar, parseCharArray, parseDate, parseDate, parseDate, parseDate, parseDate, parseDate, parseDate, parseDateFromFile, parseDirect, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseDoubleArray, parseDoubleFromFile, parseEnum, parseFile, parseFloat, parseFloat, parseFloat, parseFloat, parseFloat, parseFloat, parseFloat, parseFloatArray, parseFloatFromFile, parseInt, parseInt, parseInt, parseInt, parseInt, parseInt, parseInt, parseIntArray, parseIntFromFile, parseList, parseList, parseList, parseList, parseList, parseList, parseList, parseList, parseListFromFile, parseLong, parseLong, parseLong, parseLong, parseLong, parseLong, parseLong, parseLongArray, parseLongFromFile, parseMap, parseMap, parseMap, parseMap, parseMap, parseMap, parseMap, parseMap, parseMapFromFile, parseShort, parseShortArray, setCharsetprotected byte[] charArray
protected int __index
protected int __currentChar
protected static final int NEW_LINE
protected static final int RETURN
protected static final int SPACE
protected static final int TAB
protected static final int BELL
protected static final int FORM_FEED
protected static final int COLON
protected static final int OPEN_CURLY
protected static final int OPEN_BRACKET
protected static final int LETTER_N
protected static final int LETTER_U
protected static final int LETTER_L
protected static final int LETTER_T
protected static final int LETTER_R
protected static final int LETTER_F
protected static final int LETTER_A
protected static final int LETTER_S
protected final CharBuf builder
protected static final byte[] NULL
protected static final byte[] TRUE
protected static final byte[] FALSE
public JsonBaseByteArrayParser(FieldsAccessor fieldsAccessor)
protected final boolean hasMore()
protected final int nextChar()
protected final void skipWhiteSpace()
protected String charDescription(int c)
charDescription in class BaseJsonParserpublic <T> T parse(Class<T> type, byte[] bytes)
public Object parse(byte[] bytes)
parse in interface JsonParserparse in class BaseJsonParserpublic <T> T parse(Class<T> type, InputStream input)
parse in interface JsonParserparse in class BaseJsonParserpublic <T> T parse(Class<T> type, CharSequence charSequence)
parse in interface JsonParserparse in class BaseJsonParserpublic <T> T parse(Class<T> type, char[] chars)
protected void complain(String complaint)
protected final Object decodeValue()
protected final Object decodeJsonObject()
protected final Object decodeNull()
protected final boolean decodeTrue()
protected final boolean decodeFalse()
protected abstract String decodeString()
protected final List decodeJsonArray()
public <T> T parseDirect(Class<T> type, byte[] value)
parseDirect in interface JsonParserparseDirect in class BaseJsonParserpublic <T> T parseAsStream(Class<T> type, byte[] value)
parseAsStream in interface JsonParserparseAsStream in class BaseJsonParserpublic <T> T parseFile(Class<T> type, String fileName)
parseFile in interface JsonParserparseFile in class BaseJsonParserpublic Object parse(char[] chars)
public Object parse(String string)
parse in interface JsonParserparse in class BaseJsonParserCopyright © 2014. All rights reserved.