Package com.jsoniter
Class ReflectionObjectDecoder
java.lang.Object
com.jsoniter.ReflectionObjectDecoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private ClassDescriptor
private long
private static Object
private int
private String
private int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addBinding
(ClassInfo classInfo, Binding binding) private void
applyWrappers
(Object[] temp, Object obj) private boolean
canNotSetDirectly
(Binding binding) collectMissingFields
(long tracker) create()
private Object
createNewObject
(JsonIterator iter, Object[] temp) private Object
createNewObject
(Object... args) private Object
decodeBinding
(JsonIterator iter, Binding binding) private Object
decodeBinding
(JsonIterator iter, Object obj, Binding binding) private final void
onUnknownProperty
(JsonIterator iter, Slice fieldName, Map<String, Object> extra) private void
private void
setToBinding
(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
- Throws:
Exception
-
addBinding
-
create
-
setToBinding
- Throws:
Exception
-
setExtra
- Throws:
Exception
-
canNotSetDirectly
-
decodeBinding
- Throws:
Exception
-
decodeBinding
- Throws:
Exception
-
onUnknownProperty
private Map<String,Object> onUnknownProperty(JsonIterator iter, Slice fieldName, Map<String, Object> extra) throws IOException- Throws:
IOException
-
collectMissingFields
-
applyWrappers
- Throws:
Exception
-
createNewObject
- Throws:
Exception
-
createNewObject
- Throws:
Exception
-