final class JSONReaderASCII extends JSONReaderUTF8
JSONReader.AutoTypeBeforeHandler, JSONReader.BigIntegerCreator, JSONReader.Context, JSONReader.Feature, JSONReader.ResolveTask, JSONReader.SavePoint| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
str |
bytes, cacheItem, end, ESCAPE_INDEX_NOT_SET, in, INPUT_CODE_ASCII_ESCAPE, INPUT_CODE_ASCII_NORMAL, INPUT_CODE_ERROR, INPUT_CODE_UTF8_2, INPUT_CODE_UTF8_3, INPUT_CODE_UTF8_4, INPUT_CODES, INPUT_CODES_SINGLE_QUOTE, length, nameAscii, nameBegin, nameEnd, nameLength, nextEscapeIndex, REF, referenceBegin, startboolValue, ch, CHAR1_ESCAPED, comma, complex, context, doubleChars, EOI, exponent, INT_VALUE_END, JSON_TYPE_ARRAY, JSON_TYPE_BIG_DEC, JSON_TYPE_BOOL, JSON_TYPE_DEC, JSON_TYPE_DOUBLE, JSON_TYPE_FLOAT, JSON_TYPE_INT, JSON_TYPE_INT16, JSON_TYPE_INT64, JSON_TYPE_INT8, JSON_TYPE_NaN, JSON_TYPE_NULL, JSON_TYPE_OBJECT, JSON_TYPE_STRING, jsonb, level, mag0, mag1, mag2, mag3, MASK_ALLOW_UN_QUOTED_FIELD_NAMES, MASK_DISABLE_REFERENCE_DETECT, MASK_DISABLE_SINGLE_QUOTE, MASK_EMPTY_STRING_AS_NULL, MASK_ERROR_ON_NONE_SERIALIZABLE, MASK_FIELD_BASED, MASK_IGNORE_NONE_SERIALIZABLE, MASK_INIT_STRING_FIELD_AS_EMPTY, MASK_SUPPORT_ARRAY_TO_BEAN, MASK_SUPPORT_AUTO_TYPE, MASK_SUPPORT_SMART_MATCH, MASK_TRIM_STRING, MAX_EXP, MAX_NUMBER_DIGITS, nameEscape, negative, offset, resolveTasks, scale, SPACE, stringValue, typeRedirect, utf8, valueEscape, valueType, wasNull| Constructor and Description |
|---|
JSONReaderASCII(JSONReader.Context ctx,
java.io.InputStream is) |
JSONReaderASCII(JSONReader.Context ctx,
java.lang.String str,
byte[] bytes,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldName()
Gets the current field name in a JSON object.
|
long |
getNameHashCodeLCase()
Reads the hash code of the current field name in lowercase.
|
void |
next()
Advances the reader to the next character in the JSON data.
|
boolean |
nextIfNullOrEmptyString()
Checks if the current value is a null or empty string and advances the reader if it is.
|
boolean |
nextIfObjectStart()
Checks if the current character is the start of a JSON object ('{') and advances the reader if it is.
|
(package private) static JSONReaderASCII |
of(JSONReader.Context ctx,
java.io.InputStream is) |
(package private) static JSONReaderASCII |
of(JSONReader.Context ctx,
java.lang.String str,
byte[] bytes,
int offset,
int length) |
protected int |
readEscaped(byte[] bytes,
int offset,
int quote,
char[] buf) |
(package private) java.lang.String |
readEscaped(byte[] bytes,
int offset,
int start,
int end,
int valueLength,
int quote) |
java.lang.String |
readFieldName()
Reads the current field name in a JSON object.
|
long |
readFieldNameHashCode()
Reads the hash code of the current field name in a JSON object.
|
long |
readFieldNameHashCode(int keySize,
int min,
int max) |
long |
readFieldNameHashCodeE(int size0,
int size1,
int size3) |
long |
readFieldNameHashCodeUnquote()
Reads the hash code of the current field name in a JSON object without requiring quotes.
|
java.lang.String |
readString()
Reads a string value from JSON data.
|
protected void |
readString0() |
long |
readValueHashCode()
Reads the hash code of the current JSON value.
|
private long |
readValueHashCode0() |
char2_utf8, char2_utf8, char2_utf8, close, containsSlashOrQuote, getLatin1String, getRawInt, getRawLong, getString, getStringLength, indexOfSlash, info, info, isNull, isReference, next, nextIfArrayEnd, nextIfArrayStart, nextIfComma, nextIfInfinity, nextIfMatch, nextIfMatchIdent, nextIfMatchIdent, nextIfMatchIdent, nextIfMatchIdent, nextIfMatchIdent, nextIfName4Match10, nextIfName4Match11, nextIfName4Match12, nextIfName4Match13, nextIfName4Match14, nextIfName4Match15, nextIfName4Match16, nextIfName4Match17, nextIfName4Match18, nextIfName4Match19, nextIfName4Match2, nextIfName4Match20, nextIfName4Match21, nextIfName4Match22, nextIfName4Match23, nextIfName4Match24, nextIfName4Match25, nextIfName4Match26, nextIfName4Match27, nextIfName4Match28, nextIfName4Match29, nextIfName4Match3, nextIfName4Match30, nextIfName4Match31, nextIfName4Match32, nextIfName4Match33, nextIfName4Match34, nextIfName4Match35, nextIfName4Match36, nextIfName4Match37, nextIfName4Match38, nextIfName4Match39, nextIfName4Match4, nextIfName4Match40, nextIfName4Match41, nextIfName4Match42, nextIfName4Match43, nextIfName4Match5, nextIfName4Match6, nextIfName4Match7, nextIfName4Match8, nextIfName4Match9, nextIfName8Match0, nextIfName8Match1, nextIfName8Match2, nextIfNull, nextIfObjectEnd, nextIfSet, nextIfValue4Match10, nextIfValue4Match11, nextIfValue4Match2, nextIfValue4Match3, nextIfValue4Match4, nextIfValue4Match5, nextIfValue4Match6, nextIfValue4Match7, nextIfValue4Match8, nextIfValue4Match9, nextWithoutComment, of, parse4Nibbles, readBase64, readBigDecimal, readBoolValue, readDoubleValue, readFieldNameHashCode0, readFloatValue, readHex, readIfNull, readInt32, readInt32Value, readInt64, readInt64Value, readLocalDate, readLocalDate10, readLocalDate11, readLocalDate8, readLocalDate9, readLocalDateTime12, readLocalDateTime14, readLocalDateTime16, readLocalDateTime17, readLocalDateTime18, readLocalDateTime19, readLocalDateTime20, readLocalDateTimeX, readLocalTime10, readLocalTime11, readLocalTime12, readLocalTime15, readLocalTime18, readLocalTime5, readLocalTime6, readLocalTime7, readLocalTime8, readLocalTime9, readMillis19, readNaN, readNull, readNullOrNewDate, readNumber, readNumber0, readOffsetDateTime, readOffsetTime, readPattern, readReference, readString, readUUID, readUUID32, readUUID36, readZonedDateTimeX, skipComment, skipName, skipValueaddResolveTask, addResolveTask, addResolveTask, addResolveTask, autoTypeFilter, autoTypeFilter, autoTypeFilter, autoTypeFilter, bigInt, bigInt, char1, char1Error, char2, checkAutoType, checkNameBegin, current, decimal, endArray, error, error, error, error, error, errorOnNoneSerializable, features, getBigDecimal, getBigInteger, getContext, getDoubleValue, getFloatValue, getInt32Value, getInt64Value, getLocale, getNumber, getObjectReader, getObjectReaderAutoType, getOffset, getType, getZoneId, handleResolveTasks, hasAutoTypeBeforeHandler, hasComma, info, isArray, isBinary, isBool, isDate, isEnabled, isEnd, isFirstIdentifier, isIgnoreNoneSerializable, isInitStringFieldAsEmpty, isInt, isJSONB, isNumber, isObject, isString, isSupportAutoType, isSupportAutoTypeOrHandler, isSupportBeanArray, isSupportBeanArray, isSupportSmartMatch, isSupportSmartMatch, isTypeRedirect, mark, newCapacity, nextIfMatch, nextIfMatchTypedAny, notSupportName, numberError, numberError, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, read, read, read, read, read, read, read, readAny, readArray, readArray, readArray, readArray, readArray, readBigInteger, readBinary, readBool, readCalendar, readCharacter, readCharValue, readDate, readDouble, readFieldNameHashCodeError, readFieldNameUnquote, readFloat, readInstant, readInt16, readInt16Value, readInt32ValueArray, readInt32ValueOverflow, readInt64ValueArray, readInt64ValueOverflow, readInt8, readInt8Value, readJSONArray, readJSONObject, readList, readLocalDateTime, readLocalTime, readMillisFromString, readNumber, readObject, readObject, readObject, readReference, readReference, readStringArray, readStringNotMatch, readTypeHashCode, readZonedDateTime, reset, setTypeRedirect, startArray, stringValue, syntaxError, syntaxError, toInt, toInt32, toInt64, toLong, toNumber, toNumber, toString, toString, valueError, wasNullJSONReaderASCII(JSONReader.Context ctx, java.lang.String str, byte[] bytes, int offset, int length)
JSONReaderASCII(JSONReader.Context ctx, java.io.InputStream is)
public final void next()
JSONReadernext in class JSONReaderUTF8public final boolean nextIfObjectStart()
JSONReadernextIfObjectStart in class JSONReaderUTF8public final boolean nextIfNullOrEmptyString()
JSONReadernextIfNullOrEmptyString in class JSONReaderUTF8public long readFieldNameHashCode()
JSONReaderreadFieldNameHashCode in class JSONReaderUTF8public long readFieldNameHashCode(int keySize,
int min,
int max)
readFieldNameHashCode in class JSONReaderUTF8public long readFieldNameHashCodeE(int size0,
int size1,
int size3)
readFieldNameHashCodeE in class JSONReaderUTF8public final long readFieldNameHashCodeUnquote()
JSONReaderreadFieldNameHashCodeUnquote in class JSONReaderUTF8public final long readValueHashCode()
JSONReaderreadValueHashCode in class JSONReaderUTF8private final long readValueHashCode0()
public final long getNameHashCodeLCase()
JSONReadergetNameHashCodeLCase in class JSONReaderUTF8public final java.lang.String getFieldName()
JSONReadergetFieldName in class JSONReaderUTF8public final java.lang.String readFieldName()
JSONReaderreadFieldName in class JSONReaderUTF8public final java.lang.String readString()
JSONReaderreadString in class JSONReaderUTF8protected final void readString0()
readString0 in class JSONReaderUTF8final java.lang.String readEscaped(byte[] bytes,
int offset,
int start,
int end,
int valueLength,
int quote)
protected final int readEscaped(byte[] bytes,
int offset,
int quote,
char[] buf)
static JSONReaderASCII of(JSONReader.Context ctx, java.lang.String str, byte[] bytes, int offset, int length)
static JSONReaderASCII of(JSONReader.Context ctx, java.io.InputStream is)