public class JSONDeserializationConfig extends DeserializationConfig<JSONDeserializationConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONDeserializationConfig.JDC
The Class JDC.
|
| Constructor and Description |
|---|
JSONDeserializationConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isIgnoreNullOrEmpty() |
boolean |
isNullToEmpty() |
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 |
setNullToEmpty(boolean nullToEmpty)
Deserialize the values to empty
CharSequence/Array/Collection/Map, instead of null. |
String |
toString() |
getElementType, getMapKeyType, getMapValueType, getPropType, getPropTypes, hasPropType, isIgnoreUnmatchedProperty, setElementType, setElementType, setElementType, setIgnoreUnmatchedProperty, setMapKeyType, setMapKeyType, setMapKeyType, setMapValueType, setMapValueType, setMapValueType, setPropType, setPropType, setPropType, setPropTypescopy, getIgnoredPropNames, getIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNamespublic boolean isIgnoreNullOrEmpty()
public JSONDeserializationConfig setIgnoreNullOrEmpty(boolean ignoreNullOrEmpty)
CharSequence/Array/Collection/Map.nullToEmpty - public boolean isNullToEmpty()
public JSONDeserializationConfig setNullToEmpty(boolean nullToEmpty)
CharSequence/Array/Collection/Map, instead of null.nullToEmpty - public int hashCode()
hashCode in class DeserializationConfig<JSONDeserializationConfig>public boolean equals(Object obj)
equals in class DeserializationConfig<JSONDeserializationConfig>obj - public String toString()
toString in class DeserializationConfig<JSONDeserializationConfig>Copyright © 2021. All rights reserved.