arrow-kt / arrow-integrations

Λrrow Integrations is part of Λrrow, a functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
27 stars 6 forks source link

jackson codec for Either, Validated, and Ior #71

Closed myuwono closed 2 years ago

myuwono commented 2 years ago

in this PR

I've added configurable jackson serialization/deserialization support for:

I needed to also create a couple of reusable generic machineries to create other product types and union types. Those are being put inside an internal package currently as I don't intend that to be used by users outside of the libraries yet. These includes:

in theory we can now add support for any new sealed data types or any tupled types.

I know this is a rather sizeable PR, happy to split this into smaller chunks if that helps with the review.

fixes #45 fixes #40