Annotation Type Setting
Marks a field to be targeted by the object mapper.
Optionally, a path override can be provided.
This annotation is not required on fields unless the
NodeResolver.onlyWithSetting()
resolver filter has been applied to
the loading object mapper.
- Since:
- 4.0.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Whether a field should use its containing node for its value.The path this setting is located at.
-
Element Details
-
value
The path this setting is located at.- Returns:
- the path
- Since:
- 4.0.0
- Default:
- ""
-
nodeFromParent
boolean nodeFromParentWhether a field should use its containing node for its value.- Returns:
- whether this field should source its data from the node of its container
- Since:
- 4.0.0
- Default:
- false
-