Possible duplicates: Use Jackson to parse and unnamed array, Parsing JSON with Jackson
I have several files containing unnamed JSON arrays with the following structure:
[ {json stuff}, {json stuff}, ..., {json stuff} ]
However, json stuff varies greatly from file to file, and I already have code that could parse something like "myJSONarray" : [ {json stuff}, {json stuff}, ..., {json stuff} ]. The first step would be something like myJSONarray.get(0) ...Is there any way to use get() in order to get at the contents of the anonymous array?