public abstract class BaseJsonParser
Base JSON parser. Scaled down version of Boon JsonParser with features removed that are JDK 1.7 dependent or Groovy duplicated functionality.
Modifiers | Name | Description |
---|---|---|
protected static int |
ALPHA_0 |
|
protected static int |
ALPHA_1 |
|
protected static int |
ALPHA_2 |
|
protected static int |
ALPHA_3 |
|
protected static int |
ALPHA_4 |
|
protected static int |
ALPHA_5 |
|
protected static int |
ALPHA_6 |
|
protected static int |
ALPHA_7 |
|
protected static int |
ALPHA_8 |
|
protected static int |
ALPHA_9 |
|
protected static int |
CLOSED_BRACKET |
|
protected static int |
CLOSED_CURLY |
|
protected static int |
COLON |
|
protected static int |
COMMA |
|
protected static int |
DECIMAL_POINT |
|
protected static int |
DOUBLE_QUOTE |
|
protected static int |
ESCAPE |
|
protected static int |
LETTER_BIG_E |
|
protected static int |
LETTER_E |
|
protected static int |
MINUS |
|
protected static int |
PLUS |
|
protected int |
bufSize |
|
protected String |
charset |
|
protected static boolean |
internKeys |
|
protected static ConcurrentHashMap<String, String> |
internedKeysCache |
Type | Name and description |
---|---|
protected String |
charDescription(int c) |
protected static int |
findEndQuote(char[] array, int index) |
protected static boolean |
hasEscapeChar(char[] array, int index, int[] indexHolder) |
protected static boolean |
isDecimalChar(int currentChar) |
protected static boolean |
isDelimiter(int c) |
protected static boolean |
isDoubleQuote(int c) |
protected static boolean |
isEscape(int c) |
protected static boolean |
isNumberDigit(int c) |
Object |
parse(String jsonString) |
Object |
parse(byte[] bytes) |
Object |
parse(byte[] bytes, String charset) |
Object |
parse(CharSequence charSequence) |
Object |
parse(Reader reader) |
Object |
parse(InputStream input) |
Object |
parse(InputStream input, String charset) |
Object |
parse(File file, String charset) |
void |
setCharset(String charset) |