spring-projects/spring-data-couchbase — pull request #10 by dharrigan (2013-10-09 16:00:41+00:00)
Title: DATACOUCH-34 - Can't deserialize long/Long/Date fields.

Catch the attempt to parse a long as an int, then attempt to return a long value.

I'm not tooooo sure of the approach here, it's bizarre. There appears to be no VALUE_NUMBER_LONG in the JsonToken class and I find that confusing! At the moment, I'm just catching the attempt to parse an int where it throws an exception and then attempt to parse as a long. Seems to work grand.

-=david=-