| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| public ValueInstantiator | findValueInstantiator(DeserializationConfig config, BeanDescription.
Overrides tools. Implements tools. Method called to find the |
| public static List | |
| pack-priv static <P> ValueInstantiator | objectPrimitiveInstantiator(JavaType inputType, Class<?> two, BiFunction<Object, Object, P> factory)
object->primitive |
| pack-priv static <P> ValueInstantiator | primitiveObjectInstantiator(JavaType inputType, Class<?> one, BiFunction<Object, Object, P> factory)
primitive->object |
| pack-priv static <P> void | purePrimitiveInstantiator(Class<P> pairClass, Class<?> one, Class<?> two, BiFunction<Object, Object, P> factory)
primitive->primitive |
| ALL_PAIR_CLASSES | back to summary |
|---|---|
| private static final List<Class<?>> ALL_PAIR_CLASSES | |
| KEY_OR_VALUE_OBJECT_LAMBDAS | back to summary |
|---|---|
| private static final Map<Class<?>, Function<JavaType, ValueInstantiator>> KEY_OR_VALUE_OBJECT_LAMBDAS | |
| PURE_PRIMITIVE_INSTANTIATORS | back to summary |
|---|---|
| private static final Map<Class<?>, ValueInstantiator> PURE_PRIMITIVE_INSTANTIATORS | |
| PairInstantiators | back to summary |
|---|---|
| public PairInstantiators() | |
| add | back to summary |
|---|---|
pack-priv static void add(Class<?> objectKeyOrValuePairClass, Function<JavaType, ValueInstantiator> lambda)
| |
| findValueInstantiator | back to summary |
|---|---|
| public ValueInstantiator findValueInstantiator(DeserializationConfig config, BeanDescription. Overrides tools. Implements tools. Doc from tools. Method called to find the
Note that unlike with 2.0, no default instantiator is passed at this point:
there is a separate method,
| |
| getAllPairClasses | back to summary |
|---|---|
| public static List | |
| objectPrimitiveInstantiator | back to summary |
|---|---|
| pack-priv static <P> ValueInstantiator objectPrimitiveInstantiator(JavaType inputType, Class<?> two, BiFunction<Object, Object, P> factory) object->primitive
| |
| primitiveObjectInstantiator | back to summary |
|---|---|
| pack-priv static <P> ValueInstantiator primitiveObjectInstantiator(JavaType inputType, Class<?> one, BiFunction<Object, Object, P> factory) primitive->object
| |
| purePrimitiveInstantiator | back to summary |
|---|---|
| pack-priv static <P> void purePrimitiveInstantiator(Class<P> pairClass, Class<?> one, Class<?> two, BiFunction<Object, Object, P> factory) primitive->primitive
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | canCreateFromObjectWith()
Overrides tools. Method that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON Object |
| public ValueInstantiator | createContextual(DeserializationContext ctxt, BeanDescription.
Overrides tools. "Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies. |
| public final SettableBeanProperty[] | getFromObjectArguments(DeserializationConfig config)
Overrides tools. Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when |
| pack-priv final SettableBeanProperty[] | getFromObjectArguments(DeserializationConfig config, TypeDeserializer typeDeserOne, TypeDeserializer typeDeserTwo)
|
| pack-priv abstract JavaType | |
| pack-priv abstract JavaType |
| PairInstantiator | back to summary |
|---|---|
| public PairInstantiator(Class<?> type) | |
| PairInstantiator | back to summary |
|---|---|
| public PairInstantiator(JavaType type) | |
| canCreateFromObjectWith | back to summary |
|---|---|
| public final boolean canCreateFromObjectWith() Overrides tools. Doc from tools. Method that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON Object
| |
| createContextual | back to summary |
|---|---|
| public ValueInstantiator createContextual(DeserializationContext ctxt, BeanDescription. Overrides tools. Doc from tools. "Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies.
| |
| getFromObjectArguments | back to summary |
|---|---|
| public final SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config) Overrides tools. Doc from tools. Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when Note all properties will be of type
| |
| getFromObjectArguments | back to summary |
|---|---|
| pack-priv final SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config, TypeDeserializer typeDeserOne, TypeDeserializer typeDeserTwo) | |
| oneType | back to summary |
|---|---|
| pack-priv abstract JavaType oneType(DeserializationConfig config) | |
| twoType | back to summary |
|---|---|
| pack-priv abstract JavaType twoType(DeserializationConfig config) | |