Hi my input string look like this
{
6138249={
value=[multi2, multi3, multi4],
key=TestMulticat
},
6161782={
value=Traps (Bamboo / Box),
key=Observation gear
}
}
I want to map this input string in Map<String,Map<String,Object>>
in java.
As the input look more mysterious to me, i am not able to figure out the way to do the same.
I tried ObjectMapper
class from jackson
but still not able to map. The code i write look like this
Map<String,Map<String,Object>> data=objectMapper.readValue(singledoc, Map.class);
Can somebody suggest me either approach to do this or solution, both will be equally helpful.