public class JsonLocationInstantiator extends ValueInstantiator.Base
JsonLocation, we should be able to just implement
 ValueInstantiator (not that explicit one would be very
 hard but...)ValueInstantiator.Base, ValueInstantiator.Delegating, ValueInstantiator.Gettable_valueType| Constructor and Description | 
|---|
JsonLocationInstantiator()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canCreateFromObjectWith()
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 
 | 
Object | 
createFromObjectWith(DeserializationContext ctxt,
                    Object[] args)
Method called to create value instance from JSON Object when
 instantiation arguments are passed; this is done, for example when passing information
 specified with "Creator" annotations. 
 | 
SettableBeanProperty[] | 
getFromObjectArguments(DeserializationConfig config)
Method called to determine types of instantiation arguments
 to use when creating instances with creator arguments
 (when  
ValueInstantiator.canCreateFromObjectWith() returns  true). | 
getValueClass, getValueTypeDesc_createFromStringFallbacks, canCreateFromBigDecimal, canCreateFromBigInteger, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDefault, canCreateUsingDelegate, canInstantiate, createContextual, createFromBigDecimal, createFromBigInteger, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDefault, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getWithArgsCreatorpublic boolean canCreateFromObjectWith()
ValueInstantiatorcanCreateFromObjectWith in class ValueInstantiatorpublic SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config)
ValueInstantiatorValueInstantiator.canCreateFromObjectWith() returns  true).
 These arguments are bound from JSON, using specified
 property types to locate deserializers.
 NOTE: all properties will be of type
 CreatorProperty.
getFromObjectArguments in class ValueInstantiatorpublic Object createFromObjectWith(DeserializationContext ctxt, Object[] args)
ValueInstantiator
 This method is called if ValueInstantiator.getFromObjectArguments(com.fasterxml.jackson.databind.DeserializationConfig) returns
 a non-empty List of arguments.
createFromObjectWith in class ValueInstantiatorCopyright © 2008–2021 FasterXML. All rights reserved.