public abstract class BaseJsonParser
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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) |