@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface NonWrappable
Indicates to the JSON serializer that this type should not be wrapped with type information when serializing to/from JSON. A wrapped serialization is inside a JSON object with a single key containing the type, e.g.:
{ "typeKey": { "field1": "test", "field2": "value" } }