TokenStreamLocation, we should be able to just implement
ValueInstantiator (not that explicit one would be very
hard but...)
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static final int | |
| private static final long | |
| public 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 Object | createFromObjectWith(DeserializationContext ctxt, Object[] args)
Overrides tools. 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 | |
| public SettableBeanProperty[] | getFromObjectArguments(DeserializationConfig config)
Overrides tools. Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when |
| TokenStreamLocationInstantiator | back to summary |
|---|---|
| public TokenStreamLocationInstantiator() | |
| _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 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
| |
| createFromObjectWith | back to summary |
|---|---|
| public Object createFromObjectWith(DeserializationContext ctxt, Object[] args) Overrides tools. Doc from tools. 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, boolean req) | |
| getFromObjectArguments | back to summary |
|---|---|
| public 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
| |