Uses of Interface
com.cedarsoftware.io.ReadOptions
-
Uses of ReadOptions in com.cedarsoftware.io
Modifier 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 (Map) 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.ModifierConstructorDescriptionJsonReader
(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)