I need to get the output something like this:
[
{
"index": 2,
"range": true,
"label": {
"Label1":"Value1",
"Label2":"Value2"
}
}
]
combination of values with an integer boolean and map<string,string>
In Python we can do it simply with a list and a dictionary but how can I achieve this in Java?