| Package | Description |
|---|---|
| com.landawn.abacus.parser | |
| com.landawn.abacus.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONDeserializationConfig.JDC
The Class JDC.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.create() |
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(boolean ignoreUnmatchedProperty,
Map<Class<?>,Collection<String>> ignoredPropNames)
Deprecated.
|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(Class<?> elementClass)
Deprecated.
|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(Class<?> elementClass,
boolean ignoreUnmatchedProperty,
Map<Class<?>,Collection<String>> ignoredPropNames)
Deprecated.
|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(Class<?> keyClass,
Class<?> valueClass)
Deprecated.
|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(Class<?> keyClass,
Class<?> valueClass,
boolean ignoreUnmatchedProperty,
Map<Class<?>,Collection<String>> ignoredPropNames)
Deprecated.
|
static JSONDeserializationConfig |
JSONDeserializationConfig.JDC.of(Class<?> elementClass,
Class<?> keyClass,
Class<?> valueClass,
boolean ignoreUnmatchedProperty,
Map<Class<?>,Collection<String>> ignoredPropNames)
Deprecated.
|
JSONDeserializationConfig |
JSONDeserializationConfig.setIgnoreNullOrEmpty(boolean ignoreNullOrEmpty)
Won't set/add/put the value to entity/array/list/map if it's null or empty
CharSequence/Array/Collection/Map. |
JSONDeserializationConfig |
JSONDeserializationConfig.setNullToEmpty(boolean nullToEmpty)
Deserialize the values to empty
CharSequence/Array/Collection/Map, instead of null. |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
N.fromJSON(Class<? extends T> targetClass,
File json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(Class<? extends T> targetClass,
InputStream json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(Class<? extends T> targetClass,
Reader json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(Class<? extends T> targetClass,
String json,
int fromIndex,
int toIndex,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(Class<? extends T> targetClass,
String json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(com.landawn.abacus.type.Type<? extends T> targetType,
File json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(com.landawn.abacus.type.Type<? extends T> targetType,
InputStream json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(com.landawn.abacus.type.Type<? extends T> targetType,
Reader json,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(com.landawn.abacus.type.Type<? extends T> targetType,
String json,
int fromIndex,
int toIndex,
JSONDeserializationConfig config) |
static <T> T |
N.fromJSON(com.landawn.abacus.type.Type<? extends T> targetType,
String json,
JSONDeserializationConfig config) |
static <T> ExceptionalStream<T,IOException> |
N.streamJSON(Class<T> elementClass,
File source,
JSONDeserializationConfig config) |
static <T> ExceptionalStream<T,IOException> |
N.streamJSON(Class<T> elementClass,
InputStream source,
JSONDeserializationConfig config) |
static <T> ExceptionalStream<T,IOException> |
N.streamJSON(Class<T> elementClass,
Reader source,
JSONDeserializationConfig config) |
static <T> ExceptionalStream<T,IOException> |
N.streamJSON(Class<T> elementClass,
String source,
JSONDeserializationConfig config) |
Copyright © 2021. All rights reserved.