@Deprecated public class JsonReader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
JsonReader.JsonClassReader
Deprecated.
|
static interface |
JsonReader.JsonClassReaderBase
Deprecated.
|
static interface |
JsonReader.JsonClassReaderEx
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static String |
CLASSLOADER
Deprecated.
If set, use the specified ClassLoader
|
static String |
CUSTOM_READER_MAP
Deprecated.
If set, this maps class ==> CustomReader
|
static String |
FAIL_ON_UNKNOWN_TYPE
Deprecated.
Will fail JSON parsing if 'type' class defined but is not on classpath.
|
static String |
JSON_READER
Deprecated.
Pointer to 'this' (automatically placed in the Map)
|
static String |
MISSING_FIELD_HANDLER
Deprecated.
If set, this object will be called when a field is present in the JSON but missing from the corresponding class
|
static String |
NOT_CUSTOM_READER_MAP
Deprecated.
If set, this indicates that no custom reader should be used for the specified class ==> CustomReader
|
static String |
TYPE_NAME_MAP
Deprecated.
If set, this map will be used when writing @type values - allows short-hand abbreviations type names
|
static String |
UNKNOWN_OBJECT
Deprecated.
What to do when an object is found and 'type' cannot be determined.
|
static String |
USE_MAPS
Deprecated.
If set, the read-in JSON will be turned into a Map of Maps (JsonObject) representation
|
Constructor and Description |
---|
JsonReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getArgs()
Deprecated.
|
static ReadOptionsBuilder |
getReadOptionsBuilder(Map<String,Object> optionalArgs,
int maxDepth)
Deprecated.
|
static <T> T |
jsonToJava(InputStream inputStream,
Map<String,Object> optionalArgs)
Deprecated.
|
static <T> T |
jsonToJava(InputStream inputStream,
Map<String,Object> optionalArgs,
int maxDepth)
Deprecated.
|
static <T> T |
jsonToJava(String json)
Deprecated.
|
static <T> T |
jsonToJava(String json,
Map<String,Object> optionalArgs)
Deprecated.
|
static Object |
jsonToJava(String json,
Map<String,Object> optionalArgs,
int maxDepth)
Deprecated.
|
static Map |
jsonToMaps(String json)
Deprecated.
|
static Map |
jsonToMaps(String json,
int maxDepth)
Deprecated.
|
static Map |
jsonToMaps(String json,
Map<String,Object> optionalArgs,
int maxDepth)
Deprecated.
|
public static final String CUSTOM_READER_MAP
public static final String NOT_CUSTOM_READER_MAP
public static final String USE_MAPS
public static final String UNKNOWN_OBJECT
public static final String FAIL_ON_UNKNOWN_TYPE
public static final String JSON_READER
public static final String TYPE_NAME_MAP
public static final String MISSING_FIELD_HANDLER
public static final String CLASSLOADER
@Deprecated public static <T> T jsonToJava(String json)
@Deprecated public static <T> T jsonToJava(String json, Map<String,Object> optionalArgs)
@Deprecated public static Object jsonToJava(String json, Map<String,Object> optionalArgs, int maxDepth)
@Deprecated public static <T> T jsonToJava(InputStream inputStream, Map<String,Object> optionalArgs)
@Deprecated public static <T> T jsonToJava(InputStream inputStream, Map<String,Object> optionalArgs, int maxDepth)
@Deprecated public static Map jsonToMaps(String json)
@Deprecated public static Map jsonToMaps(String json, int maxDepth)
@Deprecated public static Map jsonToMaps(String json, Map<String,Object> optionalArgs, int maxDepth)
@Deprecated public Map<String,Object> getArgs()
@Deprecated public static ReadOptionsBuilder getReadOptionsBuilder(Map<String,Object> optionalArgs, int maxDepth)
Copyright © 2024. All rights reserved.