Class JDKValueInstantiators.HashMapInstantiator
- java.lang.Object
-
- com.fasterxml.jackson.databind.deser.ValueInstantiator
-
- com.fasterxml.jackson.databind.deser.ValueInstantiator.Base
-
- com.fasterxml.jackson.databind.deser.impl.JDKValueInstantiators.JDKValueInstantiator
-
- com.fasterxml.jackson.databind.deser.impl.JDKValueInstantiators.HashMapInstantiator
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- JDKValueInstantiators
private static class JDKValueInstantiators.HashMapInstantiator extends JDKValueInstantiators.JDKValueInstantiator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator
ValueInstantiator.Base, ValueInstantiator.Delegating, ValueInstantiator.Gettable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static JDKValueInstantiators.HashMapInstantiatorINSTANCEprivate static longserialVersionUID-
Fields inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator.Base
_valueType
-
-
Constructor Summary
Constructors Constructor Description HashMapInstantiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectcreateUsingDefault(DeserializationContext ctxt)Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.-
Methods inherited from class com.fasterxml.jackson.databind.deser.impl.JDKValueInstantiators.JDKValueInstantiator
canCreateUsingDefault, canInstantiate
-
Methods inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator.Base
getValueClass, getValueTypeDesc
-
Methods inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator
canCreateFromBigDecimal, canCreateFromBigInteger, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromObjectWith, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDelegate, createContextual, createFromBigDecimal, createFromBigInteger, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDefaultOrWithoutArguments, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getFromObjectArguments, getWithArgsCreator
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INSTANCE
static final JDKValueInstantiators.HashMapInstantiator INSTANCE
-
-
Method Detail
-
createUsingDefault
public java.lang.Object createUsingDefault(DeserializationContext ctxt) throws java.io.IOException
Description copied from class:ValueInstantiatorMethod called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".This method is called if
ValueInstantiator.getFromObjectArguments(com.fasterxml.jackson.databind.DeserializationConfig)returns null or empty List.- Specified by:
createUsingDefaultin classJDKValueInstantiators.JDKValueInstantiator- Throws:
java.io.IOException
-
-