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> TJsonIo.deepCopy(Object source, ReadOptions readOptions, WriteOptions writeOptions) Copy an object graph using JSON.static StringJsonIo.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> TJsonIo.toObjects(JsonObject jsonObject, ReadOptions readOptions, Class<T> rootType) Convert a root JsonObject that represents parsed JSON, into an actual Java object.static <T> TJsonIo.toObjects(InputStream in, ReadOptions readOptions, Class<T> rootType) Convert the passed in JSON to Java Objects.static <T> TJsonIo.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) protectedMapResolver(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter) protectedObjectResolver(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter) ConstructorprotectedResolver(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter)