Class CodegenAccess
java.lang.Object
com.jsoniter.CodegenAccess
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMissingField(List missingFields, long tracker, long mask, String fieldName) static intstatic ObjectexistingObject(JsonIterator iter) static inthead(JsonIterator iter) static bytenextToken(JsonIterator iter) static final booleannextTokenIsComma(JsonIterator iter) private static booleannextTokenIsCommaSlowPath(JsonIterator iter, byte c) static final <T> Tread(String cacheKey, JsonIterator iter) static booleanreadArrayStart(JsonIterator iter) static final booleanreadBoolean(String cacheKey, JsonIterator iter) static bytereadByte(JsonIterator iter) static final doublereadDouble(String cacheKey, JsonIterator iter) static final floatreadFloat(String cacheKey, JsonIterator iter) static final intreadInt(String cacheKey, JsonIterator iter) static final longreadLong(String cacheKey, JsonIterator iter) static final ObjectreadMapKey(String cacheKey, JsonIterator iter) static final intstatic final Slicestatic final Stringstatic booleanreadObjectStart(JsonIterator iter) static final shortreadShort(String cacheKey, JsonIterator iter) static final SlicereadSlice(JsonIterator iter) static voidstatic voidstatic Objectstatic <T extends Collection>
TreuseCollection(T col) static voidsetExistingObject(JsonIterator iter, Object obj) static voidskipFixedBytes(JsonIterator iter, int n) (package private) static final booleanstatic voidstaticGenDecoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget) static voidunreadByte(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
-