Package nonapi.io.github.classgraph.json
Class JSONDeserializer.ObjectInstantiation
- java.lang.Object
-
- nonapi.io.github.classgraph.json.JSONDeserializer.ObjectInstantiation
-
- Enclosing class:
- JSONDeserializer
private static class JSONDeserializer.ObjectInstantiation extends java.lang.Object
Used to hold object instantiations temporarily before their fields can be populated, so that object references can be resolved in the same order during deserialization as they were created during serialization.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Object
jsonVal
The JSONObject or JSONArray to recurse into.(package private) java.lang.Object
objectInstance
The Java object instance to populate from the JSONObject or JSONArray.(package private) java.lang.reflect.Type
type
The resolved type of the object instance.
-
Constructor Summary
Constructors Constructor Description ObjectInstantiation(java.lang.Object objectInstance, java.lang.reflect.Type type, java.lang.Object jsonVal)
Constructor.
-