Uses of Class
com.blackrook.json.JSONConverterSet
Package
Description
Contains a set of classes for JSON parsing and object handling.
-
Uses of JSONConverterSet in com.blackrook.json
Modifier and TypeMethodDescriptionvoid
JSONObject.addMember
(String name, JSONConverterSet converterSet, Object object) Adds a member to this JSONObject, if this is an Object type.<T> T
JSONObject.applyToObject
(T object, JSONConverterSet converterSet) Applies this object to an object bean / plain ol' Java object, or Array.static <T> JSONObject
JSONObject.create
(T object, JSONConverterSet converterSet) Creates a new JSON object using an associated specific converter set.<T> T
JSONObject.newObject
(Class<T> clazz, JSONConverterSet converterSet) Creates a new instance of a class, populated with values from this object.static <T> T
JSONReader.readJSON
(Class<T> clazz, InputStream in, JSONConverterSet converterSet) Reads in a new object from an InputStream.static <T> T
JSONReader.readJSON
(Class<T> clazz, Reader reader, JSONConverterSet converterSet) Reads in a new object from a Reader.static <T> T
JSONReader.readJSON
(Class<T> clazz, String data, JSONConverterSet converterSet) Reads in a new object from a string of characters and returns it as a new object converted from the JSON.void
JSONWriter.Options.setConverterSet
(JSONConverterSet converterSet) Replaces the underlying converter set.