I had just started doing android development recently and I have come up with a json that looks like this,
"rows": [
[
{ "val": "abc",
"val1":"cde"
},
{ "val": "efg",
"val1":"hij"
},
],
[
{ "val": "klm",
"val1":"nop"
},
{ "val": "qrs",
"val1":"tuv"
},
],
........
........
........
]
Now as you can see the outer array has no keys but the inner ones do. I am using Gson
for parsing the json. How should i approach to create a model class for this json? Any help would be appreciated!!