Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.deser.std

public Class JsonLocationInstantiator

extends Base
Class Inheritance
Imports
com.fasterxml.jackson.core.JsonLocation, com.fasterxml.jackson.core.io.ContentReference, com.fasterxml.jackson.databind.DeserializationConfig, .DeserializationContext, .JavaType, .PropertyMetadata, .PropertyName, com.fasterxml.jackson.databind.deser.CreatorProperty, .SettableBeanProperty, .ValueInstantiator

For JsonLocation, we should be able to just implement ValueInstantiator (not that explicit one would be very hard but...)

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.deser.ValueInstantiator.Base:
_valueType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static final int
private static final long
public boolean
canCreateFromObjectWith()

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.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
public Object
createFromObjectWith(DeserializationContext ctxt, Object[] args)

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

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.
private static CreatorProperty
creatorProp(String name, JavaType type, int index)

public SettableBeanProperty[]
getFromObjectArguments(DeserializationConfig config)

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Method called to determine types of instantiation arguments to use when creating instances with creator arguments (when canCreateFromObjectWith() returns true).
Inherited from com.fasterxml.jackson.databind.deser.ValueInstantiator.Base:
getValueClassgetValueTypeDesc

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.deser.ValueInstantiator.Base.serialVersionUID.

Constructor Detail

JsonLocationInstantiatorback to summary
public JsonLocationInstantiator()

Method Detail

_intback to summary
private static final int _int(Object o)
_longback to summary
private static final long _long(Object o)
canCreateFromObjectWithback to summary
public boolean canCreateFromObjectWith()

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.canCreateFromObjectWith.

Doc from com.fasterxml.jackson.databind.deser.ValueInstantiator.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

Annotations
@Override
createFromObjectWithback to summary
public Object createFromObjectWith(DeserializationContext ctxt, Object[] args)

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

Doc from com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

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.

This method is called if getFromObjectArguments returns a non-empty List of arguments.

Annotations
@Override
creatorPropback to summary
private static CreatorProperty creatorProp(String name, JavaType type, int index)
getFromObjectArgumentsback to summary
public SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config)

Overrides com.fasterxml.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Doc from com.fasterxml.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Method called to determine types of instantiation arguments to use when creating instances with creator arguments (when canCreateFromObjectWith() returns true). These arguments are bound from JSON, using specified property types to locate deserializers.

Note

all properties will be of type com.fasterxml.jackson.databind.deser.CreatorProperty.

Annotations
@Override