public static class FromStringDeserializer.Std extends FromStringDeserializer<java.lang.Object>
FromStringDeserializer.StdJsonDeserializer.None| Modifier and Type | Field and Description |
|---|---|
static int |
STD_CHARSET |
static int |
STD_CLASS |
static int |
STD_CURRENCY |
static int |
STD_FILE |
static int |
STD_INET_ADDRESS |
static int |
STD_INET_SOCKET_ADDRESS |
static int |
STD_JAVA_TYPE |
static int |
STD_LOCALE |
static int |
STD_PATTERN |
static int |
STD_TIME_ZONE |
static int |
STD_URI |
static int |
STD_URL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getEmptyValue(DeserializationContext ctxt)
Method called to determine value to be used for "empty" values
(most commonly when deserializing from empty JSON Strings).
|
deserialize, findDeserializer, logicalType, typesdeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdategetValueClass, getValueInstantiator, getValueType, getValueType, handledTypedeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final int STD_FILE
public static final int STD_URL
public static final int STD_URI
public static final int STD_CLASS
public static final int STD_JAVA_TYPE
public static final int STD_CURRENCY
public static final int STD_PATTERN
public static final int STD_LOCALE
public static final int STD_CHARSET
public static final int STD_TIME_ZONE
public static final int STD_INET_ADDRESS
public static final int STD_INET_SOCKET_ADDRESS
public java.lang.Object getEmptyValue(DeserializationContext ctxt) throws JsonMappingException
JsonDeserializerJsonDeserializer.getNullValue(com.fasterxml.jackson.databind.DeserializationContext) (which in turn
is usually simply Java null), but it can be overridden
for specific types. Or, if type should never be converted from empty
String, method can also throw an exception.
This method may be called once, or multiple times, depending on what
JsonDeserializer.getEmptyAccessPattern() returns.
Default implementation simply calls JsonDeserializer.getNullValue(com.fasterxml.jackson.databind.DeserializationContext) and
returns value.
getEmptyValue in class JsonDeserializer<java.lang.Object>JsonMappingExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved