Package org.apache.juneau.json
Class JsonClassMeta
java.lang.Object
org.apache.juneau.ExtendedMeta
org.apache.juneau.ExtendedClassMeta
org.apache.juneau.json.JsonClassMeta
Metadata on classes specific to the JSON serializers and parsers pulled from the
@Json
annotation on
the class.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the@Json(wrapperAttr)
annotation defined on the class.Methods inherited from class org.apache.juneau.ExtendedClassMeta
getClassMeta, getInnerClass
-
Constructor Details
-
JsonClassMeta
Constructor.- Parameters:
cm
- The class that this annotation is defined on.mp
- JSON metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getWrapperAttr
Returns the@Json(wrapperAttr)
annotation defined on the class.- Returns:
- The value of the annotation, or
null if not specified.
-