How to parse a json using GSON

Below is the json response i am getting from a external service.

   {"userAttributeList":
    [
    {"Name":"PROFILE.UUID","Value":”SL1-4XXXXX0"},
    {"Name":"PROFILE.UserId","Value":"[email protected]"},
    {"Name":"PROFILE.FirstName","Value":"John"},
    {"Name":"PROFILE.LastName","Value":"Smith"},
    {"Name":"PROFILE.EmailAddress","Value":"[email protected]"},
    {"Name":"SETTING.COMMON.REGIONAL_SETTINGS.DATEFORMAT_DATEPATTERN","Value":"dddd d MMMM yyyy"},
    {"Name":"SETTING.COMMON.REGIONAL_SETTINGS.DATEFORMAT_TIMEPATTERN","Value":"HH:mm:ss"},
    {"Name":"SETTING.COMMON.REGIONAL_SETTINGS.DATEFORMAT_TIMEZONE","Value":"Romance Standard Time"}
    ]}

I am stil trying the figure out a way to deserialize this . Its not in nor form. Can any one suggest a way to go a head with this.


Download how.to.parse.a.json.using.gson.zip
Direct Link


Download


Download how.to.parse.a.json.using.gson.zip
Mediafire


Download


Download how.to.parse.a.json.using.gson.zip
Uploadsat


Download

Both comments and pings are currently closed.

Comments are closed.