Class ReflectionObjectDecoder
java.lang.Object
com.jsoniter.ReflectionObjectDecoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate ClassDescriptorprivate longprivate static Objectprivate intprivate Stringprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddBinding(ClassInfo classInfo, Binding binding) private voidapplyWrappers(Object[] temp, Object obj) private booleancanNotSetDirectly(Binding binding) collectMissingFields(long tracker) create()private ObjectcreateNewObject(JsonIterator iter, Object[] temp) private ObjectcreateNewObject(Object... args) private ObjectdecodeBinding(JsonIterator iter, Binding binding) private ObjectdecodeBinding(JsonIterator iter, Object obj, Binding binding) private final voidonUnknownProperty(JsonIterator iter, Slice fieldName, Map<String, Object> extra) private voidprivate voidsetToBinding(Object obj, Binding binding, Object value)
-
Field Details
-
NOT_SET
-
allBindings
-
tempCacheKey
-
ctorArgsCacheKey
-
tempCount
private int tempCount -
expectedTracker
private long expectedTracker -
requiredIdx
private int requiredIdx -
tempIdx
private int tempIdx -
desc
-
-
Constructor Details
-
ReflectionObjectDecoder
-
-
Method Details
-
init
-
addBinding
-
create
-
setToBinding
-
setExtra
-
canNotSetDirectly
-
decodeBinding
- Throws:
Exception
-
decodeBinding
-
onUnknownProperty
private Map<String,Object> onUnknownProperty(JsonIterator iter, Slice fieldName, Map<String, Object> extra) throws IOException- Throws:
IOException
-
collectMissingFields
-
applyWrappers
-
createNewObject
- Throws:
Exception
-
createNewObject
-