Uses of Interface
com.cedarsoftware.util.io.ReadOptions
Packages that use ReadOptions
-
Uses of ReadOptions in com.cedarsoftware.util.io
Classes in com.cedarsoftware.util.io that implement ReadOptionsMethods in com.cedarsoftware.util.io that return ReadOptionsMethods in com.cedarsoftware.util.io with parameters of type ReadOptionsModifier and TypeMethodDescriptionstatic <T> T
JsonIo.deepCopy
(Object source, ReadOptions readOptions, WriteOptions writeOptions) Copy an object graph using JSON.static String
JsonIo.formatJson
(String json, ReadOptions readOptions, WriteOptions writeOptions) Format the passed in JSON into multi-line, indented format, commonly used in JSON online editors.static <T> T
JsonIo.toObjects
(JsonObject jsonObject, ReadOptions readOptions, Class<T> rootType) Convert a root JsonObject that represents parsed JSON, into an actual Java object.static <T> T
JsonIo.toObjects
(InputStream in, ReadOptions readOptions, Class<T> rootType) Convert the passed in JSON to Java Objects.static <T> T
JsonIo.toObjects
(String json, ReadOptions readOptions, Class<T> rootType) Convert the passed in JSON to Java Objects.Constructors in com.cedarsoftware.util.io with parameters of type ReadOptionsModifierConstructorDescriptionJsonReader
(ReadOptions readOptions) Use this constructor if you already have a JsonObject graph and want to parse it into Java objects by calling jsonReader.jsonObjectsToJava(rootJsonObject) after constructing the JsonReader.JsonReader
(InputStream input, ReadOptions readOptions) Creates a json reader using custom read optionsJsonReader
(InputStream inputStream, ReadOptions readOptions, ReferenceTracker references) protected
MapResolver
(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter) protected
ObjectResolver
(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter) Constructorprotected
Resolver
(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter)