use of com.fasterxml.jackson.annotation.JsonManagedReference in project ddf-common by dongfangding.
the class JacksonAnnotationIntrospector method findReferenceType.
@Override
public ReferenceProperty findReferenceType(AnnotatedMember member) {
JsonManagedReference ref1 = _findAnnotation(member, JsonManagedReference.class);
if (ref1 != null) {
return ReferenceProperty.managed(ref1.value());
}
JsonBackReference ref2 = _findAnnotation(member, JsonBackReference.class);
if (ref2 != null) {
return ReferenceProperty.back(ref2.value());
}
return null;
}
Aggregations