Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jackson serializable? #1

Open
mcandre opened this issue Mar 14, 2016 · 2 comments
Open

Jackson serializable? #1

mcandre opened this issue Mar 14, 2016 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Mar 14, 2016

Thanks for publishing an Either for Java! Could we make this Jackson-serializable, for use with distributed systems / message passing?

@poetix
Copy link
Owner

poetix commented Mar 14, 2016

Tricky. I'd be minded to write a custom Jackson serialiser/deserialiser for it. It's not obvious what the representation should be -

{
    "left": "leftValue"
}

or

[null, "rightValue"]

for example?

@drabiter
Copy link

IMO it should be object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants