jackson-future-ideas icon indicating copy to clipboard operation
jackson-future-ideas copied to clipboard

Add support for Java-tuples datatypes (as part of `jackson-datatypes-collections`?)

Open cowtowncoder opened this issue 7 years ago • 0 comments

(note: https://github.com/FasterXML/jackson-databind/issues/2020 is the background)

Tuple types from https://www.javatuples.org/ do not work out of the box, both due to immutability which requires builder-based construction (or use of "mutant factory" methods), and since getters do not (necessarily) exist for serialization -- and even if they did, would result in sub-optimal presentation.

But adding custom serializers, deserializers for 10 or so types seems quite simple.

cowtowncoder avatar May 08 '18 04:05 cowtowncoder