I thought I understood how to do this, but obviously not. I have my API from Flickr, which begins like so:
jsonFlickrApi({ \"photos\":{ \"page\":1,
I would suggest using http://www.jsonschema2pojo.org. You can paste your JSON and it will generate the POJOs for you.
That should do the trick.