I have the following JSON string and I am trying to parse it using Google gson. I have tried multiple options but not able to map it into java pojo.
JSON String:
[
{
DRIVER: {
"name" : "Tom",
"age" : 23
}
},
{
DRIVER :
{
"name" : "Dick",
"age" : 25
}
}
]
Can anyone please help in guiding me on how to parse this kind of a json string. I am stuck at the point when each JsonObject in the JsonArray contains a linkedhashmap.