Uses of Interface
com.cedarsoftware.io.ReadOptions
Packages that use ReadOptions
-
Uses of ReadOptions in com.cedarsoftware.io
Methods in com.cedarsoftware.io that return ReadOptionsModifier and TypeMethodDescriptionReadOptionsBuilder.build()
static ReadOptions
ReadOptionsBuilder.getDefaultReadOptions()
Resolver.getReadOptions()
Methods in com.cedarsoftware.io with parameters of type ReadOptionsModifier and TypeMethodDescriptionstatic <T> T
JsonIo.deepCopy
(Object source, ReadOptions readOptions, WriteOptions writeOptions) Creates a deep copy of an object by serializing it to JSON and then deserializing it back.static JsonIo.JavaObjectBuilder
JsonIo.toJava
(JsonObject jsonObject, ReadOptions readOptions) Begins the process of converting a JsonObject (Map representation) to fully resolved Java objects.static JsonIo.JavaStreamBuilder
JsonIo.toJava
(InputStream in, ReadOptions readOptions) Begins the process of converting JSON from an InputStream to Java objects.static JsonIo.JavaStringBuilder
JsonIo.toJava
(String json, ReadOptions readOptions) Begins the process of converting a JSON string to Java objects.static <T> T
JsonIo.toObjects
(JsonObject jsonObject, ReadOptions readOptions, Class<T> rootType) Converts a JsonObject (Map representation) to a Java object of the specified class.static <T> T
JsonIo.toObjects
(InputStream in, ReadOptions readOptions, Class<T> rootType) Converts JSON from an InputStream to a Java object of the specified class.static <T> T
JsonIo.toObjects
(String json, ReadOptions readOptions, Class<T> rootType) Converts a JSON string to a Java object of the specified class.Constructors in com.cedarsoftware.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) ConstructorStart with a copy of another ReadOptions.protected
Resolver
(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter)