Uses of Class
com.cedarsoftware.io.JsonObject
Packages that use JsonObject
-
Uses of JsonObject in com.cedarsoftware.io
Methods in com.cedarsoftware.io that return JsonObjectModifier and TypeMethodDescriptionReferenceTracker.get
(JsonObject jObj) ReferenceTracker.put
(Long l, JsonObject o) Methods in com.cedarsoftware.io with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected void
ObjectResolver.assignField
(Deque<JsonObject> stack, JsonObject jsonObj, Injector injector, Object rhs) Map Json Map object field to Java object field.default void
JsonReader.ClassFactory.gatherRemainingValues
(Resolver resolver, JsonObject jObj, List<Object> arguments, Set<String> excludedFields) ReferenceTracker.get
(JsonObject jObj) protected void
ObjectResolver.handleMissingField
(Deque<JsonObject> stack, JsonObject jsonObj, Object rhs, String missingField) Try to create a java object from the missing field.default Object
JsonReader.ClassFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) Implement this method to return a new instance of the passed in Class.void
Resolver.push
(JsonObject jsonObject) Push a JsonObject on the work stack that has not yet had it's fields move over to it's Java peer (.target)ReferenceTracker.put
(Long l, JsonObject o) static void
ObjectResolver.reconcileCollection
(JsonObject jsonObj, Collection col) protected <T> T
JsonReader.toJavaObjects
(JsonObject rootObj, Class<T> root) This method converts a rootObj Map, (which contains nested Maps and so forth representing a Java Object graph), to a Java object instance.<T> T
Resolver.toJavaObjects
(JsonObject rootObj, Class<T> root) This method converts a rootObj Map, (which contains nested Maps and so forth representing a Java Object graph), to a Java object instance.static <T> T
JsonIo.toObjects
(JsonObject jsonObject, ReadOptions readOptions, Class<T> rootType) Convert a root JsonObject (Map) that represents parsed JSON, into an actual Java object.protected void
MapResolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) protected void
ObjectResolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) Traverse the JsonObject associated to an array (of any type).protected abstract void
Resolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) protected void
MapResolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected void
ObjectResolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected abstract void
Resolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) void
MapResolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) Walk the JsonObject fields and perform necessary substitutions so that all references matched up.void
ObjectResolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) Walk the Java object fields and copy them from the JSON object to the Java object, performing any necessary conversions on primitives, or deep traversals for field assignments to other objects, arrays, Collections, or Maps.abstract void
Resolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) <T> T
Resolver.traverseJsonObject
(JsonObject root) Walk a JsonObject (Map of String keys to values) and return the Java object equivalent filled in as good as possible (everything except unresolved reference fields or unresolved array/collection elements).protected void
Resolver.traverseMap
(JsonObject jsonObj) Process java.util.Map and it's derivatives.void
Resolver.traverseSpecificType
(JsonObject jsonObj) Method parameters in com.cedarsoftware.io with type arguments of type JsonObjectModifier and TypeMethodDescriptionprotected void
ObjectResolver.assignField
(Deque<JsonObject> stack, JsonObject jsonObj, Injector injector, Object rhs) Map Json Map object field to Java object field.protected void
ObjectResolver.handleMissingField
(Deque<JsonObject> stack, JsonObject jsonObj, Object rhs, String missingField) Try to create a java object from the missing field.default Object
JsonReader.JsonClassReader.read
(Object jsonObj, Deque<JsonObject> stack, Resolver resolver) protected Object
MapResolver.readWithFactoryIfExists
(Object o, Class<?> compType, Deque<JsonObject> stack) protected Object
ObjectResolver.readWithFactoryIfExists
(Object o, Class<?> inferredType, Deque<JsonObject> stack) Convert the passed in object (o) to a proper Java object.protected abstract Object
Resolver.readWithFactoryIfExists
(Object o, Class<?> compType, Deque<JsonObject> stack) protected void
MapResolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) protected void
ObjectResolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) Traverse the JsonObject associated to an array (of any type).protected abstract void
Resolver.traverseArray
(Deque<JsonObject> stack, JsonObject jsonObj) protected void
MapResolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected void
ObjectResolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected abstract void
Resolver.traverseCollection
(Deque<JsonObject> stack, JsonObject jsonObj) void
MapResolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) Walk the JsonObject fields and perform necessary substitutions so that all references matched up.void
ObjectResolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) Walk the Java object fields and copy them from the JSON object to the Java object, performing any necessary conversions on primitives, or deep traversals for field assignments to other objects, arrays, Collections, or Maps.abstract void
Resolver.traverseFields
(Deque<JsonObject> stack, JsonObject jsonObj) -
Uses of JsonObject in com.cedarsoftware.io.factory
Methods in com.cedarsoftware.io.factory with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected String
EnumClassFactory.getEnumName
(JsonObject jObj) ArrayFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) char[]
CharacterPrimArrayFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) CollectionFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) Deprecated.ConvertableFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) EnumClassFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) MapFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) Deprecated.StackTraceElementFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) ThrowableFactory.newInstance
(Class<?> c, JsonObject jObj, Resolver resolver) Method parameters in com.cedarsoftware.io.factory with type arguments of type JsonObject