Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

fix issue with Either deserialization with case classes #46

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

nsanch
Copy link

@nsanch nsanch commented Feb 24, 2012

EitherDeserializer was reusing a JsonParser first when it attempted to
parse the Left, then if that failed and it tried to parse the Right. If
the Left and Right sides look similar enough that the nextToken method
was ever called on the parser, then the parsing of the Right could fail.

EitherDeserializer was reusing a JsonParser first when it attempted to
parse the Left, then if that failed and it tried to parse the Right. If
the Left and Right sides look similar enough that the nextToken method
was ever called on the parser, then the parsing of the Right could fail.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant