I have key value pairs of <string, string>
where value is json array.
I need to get parse this json to get output depending on value of name
which is wanted
in this case.
Input
"123" : [{ name : "wanted", value : "v1" }, {name : "wanted", value : "v2" }, {name : "unwanted", value : "v3" }]
Output
{"123": ["v1","v2"]}
(like Map<String,List<String>>
)