------ Sorry, I accidently deleted this message in an attempt to avoid duplicates, so here it is cut-and-pasted ------
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I'm just migrating to gson 1.7.1 and absolutely love it. In jclouds,
we were using 1.6; now with the new no-no-args constructor and type
hierarchy registrations in 1.7.1, I'm getting a cruft-cleansing high.
One of the things crufty things we have left is this very issue,
reflective of the semi-structured nature of a lot of json apis.
We sorted this out last year by making a marker class called JsonBall
and hooking into gson guts to cut based on it. I'm not terribly happy
with the design, but it works fine. Here's the issue I raised just
now, summarizing the changes. Feel free to ping me.
Cheers,
Adrian
jclouds