I would like to know how to parse this specific JSON structure in java:
[
{
"name":"property2",
"value":"ANOTHER VALUE"
},
{
"name":"property1",
"value":"ANOTHER VALUE"
}
]
I mean: I know how to parse in Java that file, but I would like to know if there is any java annotation I could use in order to take it to the following structure:
public class CustomClass {
private List<Map<String, String>> propertyListMap;
}
I asked this because I wanna avoid generating too much code...