Android Gson: Parsing Several Different Objects From The Same Response
I'm working on porting an iPhone app that relies heavily on JSON to Android. One of the responses that has to be parsed is used to build the main screen. The JSON response for this
Solution 1:
Yes you are right you need to create Four classes and need to initialize the values inside that class name..
Validate your Json using JSONLint :
Then try this sample Parsing JSON using GSON and One More
Post a Comment for "Android Gson: Parsing Several Different Objects From The Same Response"