I would like to know, whats the right structure for a list of objects in JSON.
We are using JAXB to convert the POJO\'s to JSON.
Here is the choices, Please
The second is almost correct:
{ "foos" : [{ "prop1":"value1", "prop2":"value2" }, { "prop1":"value3", "prop2":"value4" }] }