Sorry for jumping in a bit late here. What version of Gson are you running
that requires you to register both a custom deserializer and an instance
creator. I know we had that bug a while back, but I thought it was fixed
in version 1.3 and later.
Is it possible to use the Gson versioning to protect you from the
sender/receiver incompatibilities? The common approach for API versioning
is that the client will request the API version it would like to use with
the server. The server is then able to process and respond to the client
without breaking backward compatibility. As new features get added to API
calls (or new API calls emerge) then the server should support a new
version.
Comment #3 on issue 165 by inder123: Enum constant does not exist
http://code.google.com/p/google-gson/issues/detail?id=165
(No comment was entered for this change.)
Comment #4 on issue 165 by joel.leitch: Enum constant does not exist
http://code.google.com/p/google-gson/issues/detail?id=165
I do not consider this a Gson issue, but rather a versioning issue between
the client and server.