| com.atlassian.bitbucket.rest.annotation.JsonSurrogate |
Indicates a class is substitutable for another class for the purposes of rendering the original class as JSON.
Classes annotating themselves with this should indicate the class they are surrogates for in the value attribute and should provide one of two constructors:
The annotated class should, through its structure or through any other annotations it has applied, be able to be serialised to JSON by jax-rs.
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
| |||||||||||