JsonLocation, we should be able to just implement
ValueInstantiator (not that explicit one would be very
hard but...)
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static final int | |
| private static final long | |
| public boolean | canCreateFromObjectWith()
Overrides com. |
| public Object | createFromObjectWith(DeserializationContext ctxt, Object[] args)
Overrides com. |
| private static CreatorProperty | |
| public SettableBeanProperty[] | getFromObjectArguments(DeserializationConfig config)
Overrides com. canCreateFromObjectWith() returns true).
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| JsonLocationInstantiator | back to summary |
|---|---|
| public JsonLocationInstantiator() | |
| _int | back to summary |
|---|---|
| private static final int _int(Object o) | |
| _long | back to summary |
|---|---|
| private static final long _long(Object o) | |
| canCreateFromObjectWith | back to summary |
|---|---|
| public boolean canCreateFromObjectWith() Overrides com. Doc from com. 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
| |
| createFromObjectWith | back to summary |
|---|---|
| public Object createFromObjectWith(DeserializationContext ctxt, Object[] args) Overrides com. Doc from com. 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
| |
| creatorProp | back to summary |
|---|---|
| private static CreatorProperty creatorProp(String name, JavaType type, int index) | |
| getFromObjectArguments | back to summary |
|---|---|
| public SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config) Overrides com. Doc from com. Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when Note all properties will be of type
| |