I have done lot of JSON serialization/deserialization using the gson library. I wanted just to share one very handy class that I have recommended twice this week with great results I heard from a couple of friend developers.
As its name indicates (GeneralObjectDeserializer) using it you will be able to Deserialize a JSON Object into a General Object. The resulting object is based on Map and Array, fair enough. No need to say the approach is simple and just works.
Subscribe to:
Post Comments (Atom)
1 comment:
Ooh, thanks, this solved a problem that I was having with Map deserialization. I thought I was going to have to change libraries after trying all kinds of different workarounds.
Post a Comment