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 Params | Return 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 final boolean |
isDoubleQuote(int c) |
|
protected static final boolean |
isEscape(int c) |
|
protected static final boolean |
isNumberDigit(int c) |
|
public Object |
parse(String jsonString) |
|
public Object |
parse(byte[] bytes) |
|
public Object |
parse(byte[] bytes, String charset) |
|
public Object |
parse(CharSequence charSequence) |
|
public Object |
parse(Reader reader) |
|
public Object |
parse(InputStream input) |
|
public Object |
parse(InputStream input, String charset) |
|
public Object |
parse(File file, String charset) |
|
public void |
setCharset(String charset) |