I have JSON data like that:
[ {
"data": "data",
"what": "what2",
"when": 1392046352,
"id": 13,
"tags": "checkid:testcheckid, target:server.id.test, id:testid"
}, {
"data": "Test",
"what": "Test",
"when": 1395350977,
"id": 5,
"tags": "checkid:testcheckid, target:server.id.test, id:testid"
} ]
I have a Java class and I want to convert this JSON to a list of instances of my class. I found how to convert a single object, but not a list.