Can anyone help me with a java code which can convert below json into list of hashmaps
"Accounts": [
{
"owner": "PER675",
"Value": "001CCM3",
},
{
"owner": "PXX351",
"Value": "001CP1",
}
]
Basically i need like this
for(int i=0;i<Accounts.size();i++){
Accounts.get("owner"); //This should return PER675
Accounts.get("Value"); ///This should return 001CCM3
}