chriskilding/jackson-dataformat-ron

Support enums that contain fields

Closed this issue · 1 comments

Find a way to support enums that contain fields in the mapper.

Example:

Foo(1, true)

The JSON ObjectMapper does not support these, so there is no prior code in Jackson to fall back on.

Experimental feature added - a complex RON enum can map to/from a class with a @RONEnum annotation