Package com.jsoniter
Class CodegenAccess
java.lang.Object
com.jsoniter.CodegenAccess
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMissingField
(List missingFields, long tracker, long mask, String fieldName) static int
static Object
existingObject
(JsonIterator iter) static int
head
(JsonIterator iter) static byte
nextToken
(JsonIterator iter) static final boolean
nextTokenIsComma
(JsonIterator iter) private static boolean
nextTokenIsCommaSlowPath
(JsonIterator iter, byte c) static final <T> T
read
(String cacheKey, JsonIterator iter) static boolean
readArrayStart
(JsonIterator iter) static final boolean
readBoolean
(String cacheKey, JsonIterator iter) static byte
readByte
(JsonIterator iter) static final double
readDouble
(String cacheKey, JsonIterator iter) static final float
readFloat
(String cacheKey, JsonIterator iter) static final int
readInt
(String cacheKey, JsonIterator iter) static final long
readLong
(String cacheKey, JsonIterator iter) static final Object
readMapKey
(String cacheKey, JsonIterator iter) static final int
static final Slice
static final String
static boolean
readObjectStart
(JsonIterator iter) static final short
readShort
(String cacheKey, JsonIterator iter) static final Slice
readSlice
(JsonIterator iter) static void
static void
static Object
static <T extends Collection>
TreuseCollection
(T col) static void
setExistingObject
(JsonIterator iter, Object obj) static void
skipFixedBytes
(JsonIterator iter, int n) (package private) static final boolean
static void
staticGenDecoders
(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget) static void
unreadByte
(JsonIterator iter)
-
Constructor Details
-
CodegenAccess
public CodegenAccess()
-
-
Method Details
-
addMissingField
-
reuseCollection
-
existingObject
-
resetExistingObject
-
setExistingObject
-
nextTokenIsComma
- Throws:
IOException
-
nextTokenIsCommaSlowPath
- Throws:
IOException
-
nextToken
- Throws:
IOException
-
readBoolean
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
read
- Throws:
IOException
-
readArrayStart
- Throws:
IOException
-
readObjectStart
- Throws:
IOException
-
reportIncompleteObject
-
reportIncompleteArray
-
readObjectFieldAsString
- Throws:
IOException
-
readObjectFieldAsHash
- Throws:
IOException
-
readObjectFieldAsSlice
- Throws:
IOException
-
readSlice
- Throws:
IOException
-
readMapKey
- Throws:
IOException
-
skipWhitespacesWithoutLoadMore
- Throws:
IOException
-
staticGenDecoders
public static void staticGenDecoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget) -
head
-
unreadByte
- Throws:
IOException
-
readByte
- Throws:
IOException
-
calcHash
-
skipFixedBytes
- Throws:
IOException
-