final class JSONReaderUTF16 extends JSONReader
JSONReader.AutoTypeBeforeHandler, JSONReader.BigIntegerCreator, JSONReader.Context, JSONReader.Feature, JSONReader.ResolveTask, JSONReader.SavePoint| Modifier and Type | Field and Description |
|---|---|
private int |
cacheIndex |
(package private) static long |
CHAR_MASK |
protected char[] |
chars |
protected int |
end |
private java.io.Closeable |
input |
protected int |
length |
private int |
nameBegin |
private int |
nameEnd |
private int |
nameLength |
private int |
referenceBegin |
protected int |
start |
protected java.lang.String |
str |
private char[] |
strBuf |
boolValue, 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 |
|---|
JSONReaderUTF16(JSONReader.Context ctx,
byte[] bytes,
int offset,
int length) |
JSONReaderUTF16(JSONReader.Context ctx,
java.io.InputStream input) |
JSONReaderUTF16(JSONReader.Context ctx,
java.io.Reader input) |
JSONReaderUTF16(JSONReader.Context ctx,
java.lang.String str,
char[] chars,
int offset,
int length) |
JSONReaderUTF16(JSONReader.Context ctx,
java.lang.String str,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
private char |
char2(char[] chars,
int offset,
int end) |
void |
close() |
(package private) static boolean |
containsSlashOrQuoteUTF16(long v,
long quoteV) |
java.lang.String |
getFieldName()
Gets the current field name in a JSON object.
|
(package private) static int |
getInt(char[] chars,
int offset) |
(package private) static long |
getLong(char[] chars,
int offset) |
long |
getNameHashCodeLCase()
Reads the hash code of the current field name in lowercase.
|
int |
getRawInt()
Gets the raw integer value from the current position in the JSON data.
|
long |
getRawLong()
Gets the raw long value from the current position in the JSON data.
|
java.lang.String |
getString()
Gets the current string value from the JSON data.
|
int |
getStringLength()
Gets the length of the current string value in the JSON data.
|
(package private) static int |
indexOf(long v,
int quote) |
(package private) static int |
indexOf(long v,
long quoteV) |
java.lang.String |
info(java.lang.String message) |
boolean |
isNull()
Checks if the current JSON value is null.
|
boolean |
isReference()
Checks if the current value represents a reference.
|
private boolean |
isReference0(char[] chars,
int offset,
int end,
char quote) |
void |
next()
Advances the reader to the next character in the JSON data.
|
static int |
next(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
boolean |
nextIfArrayEnd()
Checks if the current character is the end of a JSON array (']') and advances the reader if it is.
|
boolean |
nextIfArrayStart()
Checks if the current character is the start of a JSON array ('[') and advances the reader if it is.
|
boolean |
nextIfComma()
Checks if the current character is a comma (',') and advances the reader if it is.
|
boolean |
nextIfInfinity()
Checks if the current value represents infinity and advances the reader if it is.
|
boolean |
nextIfMatch(char m)
Checks if the current character matches the specified character and advances the reader if it does.
|
boolean |
nextIfMatchIdent(char c0,
char c1) |
boolean |
nextIfMatchIdent(char c0,
char c1,
char c2) |
boolean |
nextIfMatchIdent(char c0,
char c1,
char c2,
char c3) |
boolean |
nextIfMatchIdent(char c0,
char c1,
char c2,
char c3,
char c4) |
boolean |
nextIfMatchIdent(char c0,
char c1,
char c2,
char c3,
char c4,
char c5) |
boolean |
nextIfName4Match10(long name1)
Checks if the next field name matches a 10-character pattern.
|
boolean |
nextIfName4Match11(long name1)
Checks if the next field name matches an 11-character pattern.
|
boolean |
nextIfName4Match12(long name1,
byte name2)
Checks if the next field name matches a 12-character pattern.
|
boolean |
nextIfName4Match13(long name1,
int name2)
Checks if the next field name matches a 13-character pattern.
|
boolean |
nextIfName4Match14(long name1,
int name2)
Checks if the next field name matches a 14-character pattern.
|
boolean |
nextIfName4Match15(long name1,
int name2)
Checks if the next field name matches a 15-character pattern.
|
boolean |
nextIfName4Match16(long name1,
int name2,
byte name3)
Checks if the next field name matches a 16-character pattern.
|
boolean |
nextIfName4Match17(long name1,
long name2)
Checks if the next field name matches a 17-character pattern.
|
boolean |
nextIfName4Match18(long name1,
long name2)
Checks if the next field name matches an 18-character pattern.
|
boolean |
nextIfName4Match19(long name1,
long name2)
Checks if the next field name matches a 19-character pattern.
|
boolean |
nextIfName4Match2()
Checks if the next field name matches a 2-character pattern.
|
boolean |
nextIfName4Match20(long name1,
long name2,
byte name3)
Checks if the next field name matches a 20-character pattern.
|
boolean |
nextIfName4Match21(long name1,
long name2,
int name3)
Checks if the next field name matches a 21-character pattern.
|
boolean |
nextIfName4Match22(long name1,
long name2,
int name3)
Checks if the next field name matches a 22-character pattern.
|
boolean |
nextIfName4Match23(long name1,
long name2,
int name3)
Checks if the next field name matches a 23-character pattern.
|
boolean |
nextIfName4Match24(long name1,
long name2,
int name3,
byte name4)
Checks if the next field name matches a 24-character pattern.
|
boolean |
nextIfName4Match25(long name1,
long name2,
long name3)
Checks if the next field name matches a 25-character pattern.
|
boolean |
nextIfName4Match26(long name1,
long name2,
long name3)
Checks if the next field name matches a 26-character pattern.
|
boolean |
nextIfName4Match27(long name1,
long name2,
long name3)
Checks if the next field name matches a 27-character pattern.
|
boolean |
nextIfName4Match28(long name1,
long name2,
long name3,
byte c29)
Checks if the next field name matches a 28-character pattern.
|
boolean |
nextIfName4Match29(long name1,
long name2,
long name3,
int name4)
Checks if the next field name matches a 29-character pattern.
|
boolean |
nextIfName4Match3()
Checks if the next field name matches a 3-character pattern.
|
boolean |
nextIfName4Match30(long name1,
long name2,
long name3,
int name4)
Checks if the next field name matches a 30-character pattern.
|
boolean |
nextIfName4Match31(long name1,
long name2,
long name3,
int name4)
Checks if the next field name matches a 31-character pattern.
|
boolean |
nextIfName4Match32(long name1,
long name2,
long name3,
int name4,
byte c32)
Checks if the next field name matches a 32-character pattern.
|
boolean |
nextIfName4Match33(long name1,
long name2,
long name3,
long name4)
Checks if the next field name matches a 33-character pattern.
|
boolean |
nextIfName4Match34(long name1,
long name2,
long name3,
long name4)
Checks if the next field name matches a 34-character pattern.
|
boolean |
nextIfName4Match35(long name1,
long name2,
long name3,
long name4)
Checks if the next field name matches a 35-character pattern.
|
boolean |
nextIfName4Match36(long name1,
long name2,
long name3,
long name4,
byte c36)
Checks if the next field name matches a 36-character pattern.
|
boolean |
nextIfName4Match37(long name1,
long name2,
long name3,
long name4,
int name5)
Checks if the next field name matches a 37-character pattern.
|
boolean |
nextIfName4Match38(long name1,
long name2,
long name3,
long name4,
int name5)
Checks if the next field name matches a 38-character pattern.
|
boolean |
nextIfName4Match39(long name1,
long name2,
long name3,
long name4,
int name5)
Checks if the next field name matches a 39-character pattern.
|
boolean |
nextIfName4Match4(byte c4)
Checks if the next field name matches a 4-character pattern.
|
boolean |
nextIfName4Match40(long name1,
long name2,
long name3,
long name4,
int name5,
byte c40)
Checks if the next field name matches a 40-character pattern.
|
boolean |
nextIfName4Match41(long name1,
long name2,
long name3,
long name4,
long name5)
Checks if the next field name matches a 41-character pattern.
|
boolean |
nextIfName4Match42(long name1,
long name2,
long name3,
long name4,
long name5)
Checks if the next field name matches a 42-character pattern.
|
boolean |
nextIfName4Match43(long name1,
long name2,
long name3,
long name4,
long name5)
Checks if the next field name matches a 43-character pattern.
|
boolean |
nextIfName4Match5(int name1)
Checks if the next field name matches a 5-character pattern.
|
boolean |
nextIfName4Match6(int name1)
Checks if the next field name matches a 6-character pattern.
|
boolean |
nextIfName4Match7(int name1)
Checks if the next field name matches a 7-character pattern.
|
boolean |
nextIfName4Match8(int name1,
byte c8)
Checks if the next field name matches an 8-character pattern.
|
boolean |
nextIfName4Match9(long name1)
Checks if the next field name matches a 9-character pattern.
|
boolean |
nextIfName8Match0()
Checks if the next field name matches an 8-character pattern with no additional characters.
|
boolean |
nextIfName8Match1()
Checks if the next field name matches an 8-character pattern with 1 additional character.
|
boolean |
nextIfName8Match2()
Checks if the next field name matches an 8-character pattern with 2 additional characters.
|
boolean |
nextIfNull()
Checks if the current JSON value is null and advances the reader if it is.
|
boolean |
nextIfNullOrEmptyString()
Checks if the current value is a null or empty string and advances the reader if it is.
|
boolean |
nextIfObjectEnd()
Checks if the current character is the end of a JSON object ('}') 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.
|
boolean |
nextIfSet()
Checks if the current value represents a Set and advances the reader if it is.
|
private static boolean |
nextIfSet(JSONReaderUTF16 jsonReader,
char[] chars,
int offset,
int end) |
boolean |
nextIfValue4Match10(long name1)
Checks if the next value matches a 10-character pattern.
|
boolean |
nextIfValue4Match11(long name1)
Checks if the next value matches an 11-character pattern.
|
boolean |
nextIfValue4Match2()
Checks if the next value matches a 2-character pattern.
|
boolean |
nextIfValue4Match3()
Checks if the next value matches a 3-character pattern.
|
boolean |
nextIfValue4Match4(byte c4)
Checks if the next value matches a 4-character pattern.
|
boolean |
nextIfValue4Match5(byte c4,
byte c5)
Checks if the next value matches a 5-character pattern.
|
boolean |
nextIfValue4Match6(int name1)
Checks if the next value matches a 6-character pattern.
|
boolean |
nextIfValue4Match7(int name1)
Checks if the next value matches a 7-character pattern.
|
boolean |
nextIfValue4Match8(int name1,
byte c8)
Checks if the next value matches an 8-character pattern.
|
boolean |
nextIfValue4Match9(int name1,
byte c8,
byte c9)
Checks if the next value matches a 9-character pattern.
|
void |
nextWithoutComment()
Advances the reader to the next character in the JSON data, skipping comment processing.
|
private static long |
parse4Nibbles(char[] chars,
int offset) |
java.math.BigDecimal |
readBigDecimal()
Reads a BigDecimal value from JSON data.
|
boolean |
readBoolValue()
Reads a boolean value from JSON data.
|
double |
readDoubleValue()
Reads a double value from JSON data.
|
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) |
private long |
readFieldNameHashCode0() |
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.
|
float |
readFloatValue()
Reads a float value from JSON data.
|
byte[] |
readHex()
Reads a hexadecimal string from JSON data and converts it to a byte array.
|
boolean |
readIfNull()
Checks if the current JSON value is null and advances the reader if it is.
|
java.lang.Integer |
readInt32()
Reads an Integer object from JSON data.
|
int |
readInt32Value()
Reads a 32-bit integer value from JSON data.
|
java.lang.Long |
readInt64()
Reads a Long object from JSON data.
|
long |
readInt64Value()
Reads a 64-bit long value from JSON data.
|
java.time.LocalDate |
readLocalDate()
Reads a LocalDate value from JSON data.
|
private java.time.LocalDate |
readLocalDate0(int offset,
char[] chars,
char quote) |
java.time.LocalDate |
readLocalDate10() |
java.time.LocalDate |
readLocalDate11() |
java.time.LocalDate |
readLocalDate8() |
java.time.LocalDate |
readLocalDate9() |
protected java.time.LocalDateTime |
readLocalDateTime12() |
protected java.time.LocalDateTime |
readLocalDateTime14() |
protected java.time.LocalDateTime |
readLocalDateTime16() |
protected java.time.LocalDateTime |
readLocalDateTime17() |
protected java.time.LocalDateTime |
readLocalDateTime18() |
protected java.time.LocalDateTime |
readLocalDateTime19() |
protected java.time.LocalDateTime |
readLocalDateTime20() |
protected java.time.LocalDateTime |
readLocalDateTimeX(int len) |
protected java.time.LocalTime |
readLocalTime10() |
protected java.time.LocalTime |
readLocalTime11() |
protected java.time.LocalTime |
readLocalTime12() |
protected java.time.LocalTime |
readLocalTime15() |
protected java.time.LocalTime |
readLocalTime18() |
protected java.time.LocalTime |
readLocalTime5() |
protected java.time.LocalTime |
readLocalTime6() |
protected java.time.LocalTime |
readLocalTime7() |
protected java.time.LocalTime |
readLocalTime8() |
protected java.time.LocalTime |
readLocalTime9() |
long |
readMillis19()
Reads milliseconds from a 19-character date string in JSON data.
|
double |
readNaN() |
void |
readNull()
Reads a null value from JSON data and advances the reader.
|
java.util.Date |
readNullOrNewDate()
Reads a Date value from JSON data, returning null if the value is null.
|
void |
readNumber0()
Reads a number value from JSON data and stores it in internal fields.
|
java.time.OffsetDateTime |
readOffsetDateTime() |
java.time.OffsetTime |
readOffsetTime() |
java.lang.String |
readPattern()
Reads a pattern string from the JSON data.
|
java.lang.String |
readReference()
Reads a reference value from JSON data.
|
java.lang.String |
readString()
Reads a string value from JSON data.
|
protected void |
readString0() |
java.util.UUID |
readUUID()
Reads a UUID value from JSON data.
|
long |
readValueHashCode()
Reads the hash code of the current JSON value.
|
long |
readValueHashCode0() |
protected java.time.ZonedDateTime |
readZonedDateTimeX(int len) |
private static int |
skipArray(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
void |
skipComment()
Skips a comment in the JSON data, advancing the reader to the end of the comment.
|
private static int |
skipFalse(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
boolean |
skipName()
Skips the current field name in a JSON object.
|
private static int |
skipName(JSONReaderUTF16 jsonReader,
char[] chars,
int offset,
int end) |
private static int |
skipNull(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
private static int |
skipNumber(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
private static int |
skipNumber(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end,
boolean allowColon) |
private static int |
skipObject(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
private static int |
skipSet(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
private static int |
skipString(JSONReaderUTF16 jsonReader,
char[] chars,
int offset,
int end) |
private static int |
skipStringEscaped(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int quote) |
private static int |
skipTrue(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
void |
skipValue()
Skips the current JSON value, advancing the reader to the next value or end of the current structure.
|
private static int |
skipValue(JSONReaderUTF16 jsonReader,
char[] bytes,
int offset,
int end) |
addResolveTask, 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, of, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, ofJSONB, read, read, read, read, read, read, read, readAny, readArray, readArray, readArray, readArray, readArray, readBase64, 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, readNumber, readObject, readObject, readObject, readReference, readReference, readString, readStringArray, readStringNotMatch, readTypeHashCode, readZonedDateTime, reset, setTypeRedirect, startArray, stringValue, syntaxError, syntaxError, toInt, toInt32, toInt64, toLong, toNumber, toNumber, toString, toString, valueError, wasNullstatic final long CHAR_MASK
protected final java.lang.String str
protected final char[] chars
protected final int length
protected final int start
protected final int end
private int nameBegin
private int nameEnd
private int nameLength
private int referenceBegin
private java.io.Closeable input
private int cacheIndex
private char[] strBuf
JSONReaderUTF16(JSONReader.Context ctx, byte[] bytes, int offset, int length)
JSONReaderUTF16(JSONReader.Context ctx, java.io.Reader input)
JSONReaderUTF16(JSONReader.Context ctx, java.lang.String str, int offset, int length)
JSONReaderUTF16(JSONReader.Context ctx, java.lang.String str, char[] chars, int offset, int length)
JSONReaderUTF16(JSONReader.Context ctx, java.io.InputStream input)
public final byte[] readHex()
JSONReaderreadHex in class JSONReaderpublic final boolean isReference()
JSONReaderisReference in class JSONReaderprivate boolean isReference0(char[] chars,
int offset,
int end,
char quote)
public final java.lang.String readReference()
JSONReaderreadReference in class JSONReaderpublic final boolean nextIfMatch(char m)
JSONReadernextIfMatch in class JSONReaderm - The character to matchpublic final boolean nextIfComma()
JSONReadernextIfComma in class JSONReaderpublic final boolean nextIfArrayStart()
JSONReadernextIfArrayStart in class JSONReaderpublic final boolean nextIfArrayEnd()
JSONReadernextIfArrayEnd in class JSONReaderpublic final boolean nextIfNullOrEmptyString()
JSONReadernextIfNullOrEmptyString in class JSONReaderpublic final boolean nextIfMatchIdent(char c0,
char c1)
nextIfMatchIdent in class JSONReaderpublic final boolean nextIfMatchIdent(char c0,
char c1,
char c2)
nextIfMatchIdent in class JSONReaderpublic final boolean nextIfMatchIdent(char c0,
char c1,
char c2,
char c3)
nextIfMatchIdent in class JSONReaderpublic final boolean nextIfMatchIdent(char c0,
char c1,
char c2,
char c3,
char c4)
nextIfMatchIdent in class JSONReaderpublic final boolean nextIfMatchIdent(char c0,
char c1,
char c2,
char c3,
char c4,
char c5)
nextIfMatchIdent in class JSONReaderpublic final boolean nextIfSet()
JSONReadernextIfSet in class JSONReaderpublic final boolean nextIfInfinity()
JSONReadernextIfInfinity in class JSONReaderpublic final boolean nextIfObjectStart()
JSONReadernextIfObjectStart in class JSONReaderpublic final boolean nextIfObjectEnd()
JSONReadernextIfObjectEnd in class JSONReaderpublic final void next()
JSONReadernext in class JSONReaderpublic final void nextWithoutComment()
JSONReadernextWithoutComment in class JSONReaderpublic final long readFieldNameHashCodeUnquote()
JSONReaderreadFieldNameHashCodeUnquote in class JSONReaderpublic final long readFieldNameHashCode()
JSONReaderreadFieldNameHashCode in class JSONReaderpublic final long readFieldNameHashCode(int keySize,
int min,
int max)
readFieldNameHashCode in class JSONReaderpublic long readFieldNameHashCodeE(int size0,
int size1,
int size3)
readFieldNameHashCodeE in class JSONReaderprivate final long readFieldNameHashCode0()
public final long readValueHashCode()
JSONReaderreadValueHashCode in class JSONReaderpublic final long readValueHashCode0()
public final long getNameHashCodeLCase()
JSONReadergetNameHashCodeLCase in class JSONReaderpublic final java.lang.String getFieldName()
JSONReadergetFieldName in class JSONReaderpublic final java.lang.String readFieldName()
JSONReaderreadFieldName in class JSONReaderpublic final int readInt32Value()
JSONReaderreadInt32Value in class JSONReaderpublic final java.lang.Integer readInt32()
JSONReaderreadInt32 in class JSONReaderpublic final long readInt64Value()
JSONReaderreadInt64Value in class JSONReaderpublic final java.lang.Long readInt64()
JSONReaderreadInt64 in class JSONReaderpublic double readDoubleValue()
JSONReaderreadDoubleValue in class JSONReaderpublic float readFloatValue()
JSONReaderreadFloatValue in class JSONReaderpublic final java.lang.String getString()
JSONReadergetString in class JSONReaderprotected final void readString0()
static boolean containsSlashOrQuoteUTF16(long v,
long quoteV)
static int indexOf(long v,
long quoteV)
static int indexOf(long v,
int quote)
public java.lang.String readString()
JSONReaderreadString in class JSONReaderprivate char char2(char[] chars,
int offset,
int end)
public final boolean skipName()
JSONReaderskipName in class JSONReaderprivate static int skipName(JSONReaderUTF16 jsonReader, char[] chars, int offset, int end)
private static int skipNumber(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipNumber(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end, boolean allowColon)
private static int skipString(JSONReaderUTF16 jsonReader, char[] chars, int offset, int end)
private static int skipStringEscaped(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int quote)
private static int skipObject(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
public static int next(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipArray(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipFalse(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipTrue(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipNull(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static int skipSet(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
private static boolean nextIfSet(JSONReaderUTF16 jsonReader, char[] chars, int offset, int end)
private static int skipValue(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end)
public final void skipValue()
JSONReaderskipValue in class JSONReaderpublic final void skipComment()
JSONReaderskipComment in class JSONReaderpublic final void readNumber0()
JSONReaderreadNumber0 in class JSONReaderpublic final boolean readIfNull()
JSONReaderreadIfNull in class JSONReaderpublic final java.util.Date readNullOrNewDate()
JSONReaderreadNullOrNewDate in class JSONReaderpublic final boolean isNull()
JSONReaderisNull in class JSONReaderpublic final boolean nextIfNull()
JSONReadernextIfNull in class JSONReaderpublic final void readNull()
JSONReaderreadNull in class JSONReaderpublic final double readNaN()
readNaN in class JSONReaderpublic final java.math.BigDecimal readBigDecimal()
JSONReaderreadBigDecimal in class JSONReaderpublic final java.util.UUID readUUID()
JSONReaderreadUUID in class JSONReaderprivate static long parse4Nibbles(char[] chars,
int offset)
public final int getStringLength()
JSONReadergetStringLength in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime14()
readLocalDateTime14 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime12()
readLocalDateTime12 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime16()
readLocalDateTime16 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime17()
readLocalDateTime17 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime18()
readLocalDateTime18 in class JSONReaderprotected final java.time.LocalTime readLocalTime5()
readLocalTime5 in class JSONReaderprotected final java.time.LocalTime readLocalTime6()
readLocalTime6 in class JSONReaderprotected final java.time.LocalTime readLocalTime7()
readLocalTime7 in class JSONReaderprotected final java.time.LocalTime readLocalTime8()
readLocalTime8 in class JSONReaderprotected final java.time.LocalTime readLocalTime9()
readLocalTime9 in class JSONReaderpublic final java.time.LocalDate readLocalDate8()
readLocalDate8 in class JSONReaderpublic final java.time.LocalDate readLocalDate9()
readLocalDate9 in class JSONReaderpublic final java.time.LocalDate readLocalDate10()
readLocalDate10 in class JSONReaderpublic final java.time.LocalDate readLocalDate11()
readLocalDate11 in class JSONReaderpublic final java.time.LocalDate readLocalDate()
JSONReaderreadLocalDate in class JSONReaderprivate java.time.LocalDate readLocalDate0(int offset,
char[] chars,
char quote)
public final java.time.OffsetDateTime readOffsetDateTime()
readOffsetDateTime in class JSONReaderpublic final java.time.OffsetTime readOffsetTime()
readOffsetTime in class JSONReaderprotected final java.time.ZonedDateTime readZonedDateTimeX(int len)
readZonedDateTimeX in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime19()
readLocalDateTime19 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTime20()
readLocalDateTime20 in class JSONReaderpublic final long readMillis19()
JSONReaderreadMillis19 in class JSONReaderprotected final java.time.LocalDateTime readLocalDateTimeX(int len)
readLocalDateTimeX in class JSONReaderprotected final java.time.LocalTime readLocalTime10()
readLocalTime10 in class JSONReaderprotected final java.time.LocalTime readLocalTime11()
readLocalTime11 in class JSONReaderprotected final java.time.LocalTime readLocalTime12()
readLocalTime12 in class JSONReaderprotected final java.time.LocalTime readLocalTime15()
readLocalTime15 in class JSONReaderprotected final java.time.LocalTime readLocalTime18()
readLocalTime18 in class JSONReaderpublic final java.lang.String readPattern()
JSONReaderreadPattern in class JSONReaderpublic final boolean readBoolValue()
JSONReaderreadBoolValue in class JSONReaderpublic java.lang.String info(java.lang.String message)
info in class JSONReaderpublic final void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class JSONReaderpublic final int getRawInt()
JSONReadergetRawInt in class JSONReaderstatic int getInt(char[] chars,
int offset)
public final long getRawLong()
JSONReadergetRawLong in class JSONReaderstatic long getLong(char[] chars,
int offset)
public final boolean nextIfName8Match0()
JSONReadernextIfName8Match0 in class JSONReaderpublic final boolean nextIfName8Match1()
JSONReadernextIfName8Match1 in class JSONReaderpublic final boolean nextIfName8Match2()
JSONReadernextIfName8Match2 in class JSONReaderpublic final boolean nextIfName4Match2()
JSONReadernextIfName4Match2 in class JSONReaderpublic final boolean nextIfName4Match3()
JSONReadernextIfName4Match3 in class JSONReaderpublic final boolean nextIfName4Match4(byte c4)
JSONReadernextIfName4Match4 in class JSONReaderc4 - the fourth character to matchpublic final boolean nextIfName4Match5(int name1)
JSONReadernextIfName4Match5 in class JSONReadername1 - the first 4 bytes of the name to matchpublic final boolean nextIfName4Match6(int name1)
JSONReadernextIfName4Match6 in class JSONReadername1 - the first 4 bytes of the name to matchpublic final boolean nextIfName4Match7(int name1)
JSONReadernextIfName4Match7 in class JSONReadername1 - the first 4 bytes of the name to matchpublic final boolean nextIfName4Match8(int name1,
byte c8)
JSONReadernextIfName4Match8 in class JSONReadername1 - the first 4 bytes of the name to matchc8 - the eighth character to matchpublic final boolean nextIfName4Match9(long name1)
JSONReadernextIfName4Match9 in class JSONReadername1 - the first 8 bytes of the name to matchpublic final boolean nextIfName4Match10(long name1)
JSONReadernextIfName4Match10 in class JSONReadername1 - the first 8 bytes of the name to matchpublic final boolean nextIfName4Match11(long name1)
JSONReadernextIfName4Match11 in class JSONReadername1 - the first 8 bytes of the name to matchpublic final boolean nextIfName4Match12(long name1,
byte name2)
JSONReadernextIfName4Match12 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match13(long name1,
int name2)
JSONReadernextIfName4Match13 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match14(long name1,
int name2)
JSONReadernextIfName4Match14 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match15(long name1,
int name2)
JSONReadernextIfName4Match15 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match16(long name1,
int name2,
byte name3)
JSONReadernextIfName4Match16 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 4 bytes of the name to matchname3 - the last byte of the name to matchpublic final boolean nextIfName4Match17(long name1,
long name2)
JSONReadernextIfName4Match17 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match18(long name1,
long name2)
JSONReadernextIfName4Match18 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match19(long name1,
long name2)
JSONReadernextIfName4Match19 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match20(long name1,
long name2,
byte name3)
JSONReadernextIfName4Match20 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last byte of the name to matchpublic final boolean nextIfName4Match21(long name1,
long name2,
int name3)
JSONReadernextIfName4Match21 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match22(long name1,
long name2,
int name3)
JSONReadernextIfName4Match22 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match23(long name1,
long name2,
int name3)
JSONReadernextIfName4Match23 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match24(long name1,
long name2,
int name3,
byte name4)
JSONReadernextIfName4Match24 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 4 bytes of the name to matchname4 - the last byte of the name to matchpublic final boolean nextIfName4Match25(long name1,
long name2,
long name3)
JSONReadernextIfName4Match25 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match26(long name1,
long name2,
long name3)
JSONReadernextIfName4Match26 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match27(long name1,
long name2,
long name3)
JSONReadernextIfName4Match27 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match28(long name1,
long name2,
long name3,
byte c29)
JSONReadernextIfName4Match28 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 8 bytes of the name to matchc29 - the last byte of the name to matchpublic final boolean nextIfName4Match29(long name1,
long name2,
long name3,
int name4)
JSONReadernextIfName4Match29 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 8 bytes of the name to matchname4 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match30(long name1,
long name2,
long name3,
int name4)
JSONReadernextIfName4Match30 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 8 bytes of the name to matchname4 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match31(long name1,
long name2,
long name3,
int name4)
JSONReadernextIfName4Match31 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 8 bytes of the name to matchname4 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match32(long name1,
long name2,
long name3,
int name4,
byte c32)
JSONReadernextIfName4Match32 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second to last 8 bytes of the name to matchname4 - the second to last 4 bytes of the name to matchc32 - the last byte of the name to matchpublic final boolean nextIfName4Match33(long name1,
long name2,
long name3,
long name4)
JSONReadernextIfName4Match33 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match34(long name1,
long name2,
long name3,
long name4)
JSONReadernextIfName4Match34 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match35(long name1,
long name2,
long name3,
long name4)
JSONReadernextIfName4Match35 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match36(long name1,
long name2,
long name3,
long name4,
byte c36)
JSONReadernextIfName4Match36 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the second to last 8 bytes of the name to matchc36 - the last byte of the name to matchpublic final boolean nextIfName4Match37(long name1,
long name2,
long name3,
long name4,
int name5)
JSONReadernextIfName4Match37 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third to last 8 bytes of the name to matchname5 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match38(long name1,
long name2,
long name3,
long name4,
int name5)
JSONReadernextIfName4Match38 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third to last 8 bytes of the name to matchname5 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match39(long name1,
long name2,
long name3,
long name4,
int name5)
JSONReadernextIfName4Match39 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third to last 8 bytes of the name to matchname5 - the last 4 bytes of the name to matchpublic final boolean nextIfName4Match40(long name1,
long name2,
long name3,
long name4,
int name5,
byte c40)
JSONReadernextIfName4Match40 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third to last 8 bytes of the name to matchname5 - the second to last 4 bytes of the name to matchc40 - the last byte of the name to matchpublic final boolean nextIfName4Match41(long name1,
long name2,
long name3,
long name4,
long name5)
JSONReadernextIfName4Match41 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third middle 8 bytes of the name to matchname5 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match42(long name1,
long name2,
long name3,
long name4,
long name5)
JSONReadernextIfName4Match42 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third middle 8 bytes of the name to matchname5 - the last 8 bytes of the name to matchpublic final boolean nextIfName4Match43(long name1,
long name2,
long name3,
long name4,
long name5)
JSONReadernextIfName4Match43 in class JSONReadername1 - the first 8 bytes of the name to matchname2 - the middle 8 bytes of the name to matchname3 - the second middle 8 bytes of the name to matchname4 - the third middle 8 bytes of the name to matchname5 - the last 8 bytes of the name to matchpublic final boolean nextIfValue4Match2()
JSONReadernextIfValue4Match2 in class JSONReaderpublic final boolean nextIfValue4Match3()
JSONReadernextIfValue4Match3 in class JSONReaderpublic final boolean nextIfValue4Match4(byte c4)
JSONReadernextIfValue4Match4 in class JSONReaderc4 - the fourth character to matchpublic final boolean nextIfValue4Match5(byte c4,
byte c5)
JSONReadernextIfValue4Match5 in class JSONReaderc4 - the fourth character to matchc5 - the fifth character to matchpublic final boolean nextIfValue4Match6(int name1)
JSONReadernextIfValue4Match6 in class JSONReadername1 - the first 4 bytes of the name to matchpublic final boolean nextIfValue4Match7(int name1)
JSONReadernextIfValue4Match7 in class JSONReadername1 - the first 4 bytes of the name to matchpublic final boolean nextIfValue4Match8(int name1,
byte c8)
JSONReadernextIfValue4Match8 in class JSONReadername1 - the first 4 bytes of the name to matchc8 - the eighth character to matchpublic final boolean nextIfValue4Match9(int name1,
byte c8,
byte c9)
JSONReadernextIfValue4Match9 in class JSONReadername1 - the first 4 bytes of the name to matchc8 - the eighth character to matchc9 - the ninth character to matchpublic final boolean nextIfValue4Match10(long name1)
JSONReadernextIfValue4Match10 in class JSONReadername1 - the first 8 bytes of the name to matchpublic final boolean nextIfValue4Match11(long name1)
JSONReadernextIfValue4Match11 in class JSONReadername1 - the first 8 bytes of the name to match