I have a json string
{
{
key1:[values1]
},
{
key2:[values2]
}
}
I want to convert it into HashMap(String,Object)
in java.
I have been using normal json parsing, where I create a jsonObject from the json string and extract jsonArrays from the jsonObject. Is there any direct API to convert it?