3 ms·
Or just register the Jackson Java 8 datatypes module. Then you can create a standard immutable class with a constructior, and Jackson's object mapper can then
by guapo 8y ago
Or just register the Jackson Java 8 datatypes module.
Then you can create a standard immutable class with a constructior, and Jackson's object mapper can then serialize and deserialize.
The only catch is that you must add -parameters to your javac args.
- Shawnecy 8y agoThis is what I do. Can attest that it keeps things very clean and lean.