@Target(value={ANNOTATION_TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface JsonManagedReference
JsonBackReference
. Linkage is handled such that the property
annotated with this annotation is handled normally (serialized normally, no
special handling for deserialization); it is the matching back reference
that requires special handling
All references have logical name to allow handling multiple linkages; typical case would be that where nodes have both parent/child and sibling linkages. If so, pairs of references should be named differently. It is an error for a class too have multiple managed references with same name, even if types pointed are different.
Note: only methods and fields can be annotated with this annotation: constructor arguments should NOT be annotated, as they can not be either managed or back references.
public abstract String value
Copyright © 2008–2018 FasterXML. All rights reserved.