Uses of Class
com.cedarsoftware.util.io.JsonObject
Packages that use JsonObject
-
Uses of JsonObject in com.cedarsoftware.util.io
Methods in com.cedarsoftware.util.io that return JsonObjectModifier and TypeMethodDescriptionReferenceTracker.get(JsonObject jObj) ReferenceTracker.put(Long l, JsonObject o) protected JsonObjectResolver.resolveRefs(JsonObject jsonObject) Methods in com.cedarsoftware.util.io with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected voidObjectResolver.assignField(Deque<JsonObject> stack, JsonObject jsonObj, Injector injector, Object rhs) Map Json Map object field to Java object field.protected <T> TResolver.convertJsonValuesToJava(JsonObject root) Walk a JsonObject (Map of String keys to values) and return the Java object equivalent filled in as best as possible (everything except unresolved reference fields or unresolved array/collection elements).protected <T> TJsonReader.convertJsonValueToJava(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.protected static voidResolver.convertMapToKeysItems(JsonObject jObj) Convert an input JsonObject map (known to represent a Map.class or derivative) that has regular keys and values to have its keys placed into @keys, and its values placed into @items.protected ObjectResolver.createInstance(JsonObject jsonObj) This method creates a Java Object instance based on the passed in parameters.protected ObjectResolver.createInstanceUsingType(JsonObject jsonObj) Create an instance of a Java class using the ".type" field on the jsonObj.protected EnumSet<?>Resolver.extractEnumSet(Class c, JsonObject jsonObj) default voidJsonReader.ClassFactory.gatherRemainingValues(ReaderContext context, JsonObject jObj, List<Object> arguments, Set<String> excludedFields) ReferenceTracker.get(JsonObject jObj) protected voidObjectResolver.handleMissingField(Deque<JsonObject> stack, JsonObject jsonObj, Object rhs, String missingField) Try to create a java object from the missing field.JsonReader.jsonObjectsToJava(JsonObject root) Deprecated.default ObjectJsonReader.ClassFactory.newInstance(Class<?> c, JsonObject jObj) Implement this method to return a new instance of the passed in Class.default ObjectJsonReader.ClassFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) Implement this method to return a new instance of the passed in Class.ReferenceTracker.put(Long l, JsonObject o) static voidObjectResolver.reconcileCollection(JsonObject jsonObj, Collection col) <T> TJsonReader.reentrantConvertJsonValueToJava(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> TReaderContext.reentrantConvertJsonValueToJava(JsonObject root, Class<T> hint) This method converts a rootObj Map, (which contains nested Maps and so forth representing a Java Object graph), to a Java object instance.<T> TResolver.reentrantConvertJsonValueToJava(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.protected JsonObjectResolver.resolveRefs(JsonObject jsonObject) static <T> TJsonIo.toObjects(JsonObject jsonObject, ReadOptions readOptions, Class<T> rootType) Convert a root JsonObject that represents parsed JSON, into an actual Java object.protected voidMapResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) protected voidObjectResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) Traverse the JsonObject associated to an array (of any type).protected abstract voidResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) protected voidMapResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected voidObjectResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected abstract voidResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) voidJsonReader.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.voidMapResolver.traverseFields(Deque<JsonObject> stack, JsonObject jsonObj) Walk the JsonObject fields and perform necessary substitutions so that all references matched up.voidObjectResolver.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.voidReaderContext.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.protected voidResolver.traverseMap(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Map and it's derivatives.Method parameters in com.cedarsoftware.util.io with type arguments of type JsonObjectModifier and TypeMethodDescriptionprotected voidObjectResolver.assignField(Deque<JsonObject> stack, JsonObject jsonObj, Injector injector, Object rhs) Map Json Map object field to Java object field.protected voidObjectResolver.handleMissingField(Deque<JsonObject> stack, JsonObject jsonObj, Object rhs, String missingField) Try to create a java object from the missing field.default ObjectJsonReader.JsonClassReader.read(Object jOb, Deque<JsonObject> stack) default ObjectJsonReader.JsonClassReader.read(Object jOb, Deque<JsonObject> stack, ReaderContext context) protected ObjectMapResolver.readWithFactoryIfExists(Object o, Class compType, Deque<JsonObject> stack) protected ObjectObjectResolver.readWithFactoryIfExists(Object o, Class inferredType, Deque<JsonObject> stack) Convert the passed in object (o) to a proper Java object.protected abstract ObjectResolver.readWithFactoryIfExists(Object o, Class compType, Deque<JsonObject> stack) protected voidMapResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) protected voidObjectResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) Traverse the JsonObject associated to an array (of any type).protected abstract voidResolver.traverseArray(Deque<JsonObject> stack, JsonObject jsonObj) protected voidMapResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected voidObjectResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Collection and it's derivatives.protected abstract voidResolver.traverseCollection(Deque<JsonObject> stack, JsonObject jsonObj) voidJsonReader.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.voidMapResolver.traverseFields(Deque<JsonObject> stack, JsonObject jsonObj) Walk the JsonObject fields and perform necessary substitutions so that all references matched up.voidObjectResolver.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.voidReaderContext.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.protected voidResolver.traverseMap(Deque<JsonObject> stack, JsonObject jsonObj) Process java.util.Map and it's derivatives. -
Uses of JsonObject in com.cedarsoftware.util.io.factory
Methods in com.cedarsoftware.util.io.factory with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected StringEnumClassFactory.getEnumName(JsonObject jObj) ArrayFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) char[]CharacterPrimArrayFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) CollectionFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) Deprecated.ConvertableFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) EnumClassFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) MapFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) Deprecated.StackTraceElementFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) ThrowableFactory.newInstance(Class<?> c, JsonObject jObj, ReaderContext context) Method parameters in com.cedarsoftware.util.io.factory with type arguments of type JsonObjectModifier and TypeMethodDescriptionRecordFactory.RecordReader.read(Object o, Deque<JsonObject> stack, ReaderContext context)