Better HN
topnewbestaskshowjobs
Log inSign up

guapo

2 karma · joined Jan 31, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

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.