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 ReadOptionsReadOptionsBuilder.getDefaultReadOptions()Resolver.getReadOptions()Methods in com.cedarsoftware.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 (Map) 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.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) ConstructorStart with a copy of another ReadOptions.protectedResolver(ReadOptions readOptions, ReferenceTracker references, com.cedarsoftware.util.convert.Converter converter)