jerkson icon indicating copy to clipboard operation
jerkson copied to clipboard

fix issue with Either deserialization with case classes

Open nsanch opened this issue 13 years ago • 0 comments

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.

nsanch avatar Feb 24 '12 04:02 nsanch