Is the response in JSON format or in XML format or CSV?
Assuming JSON format you can use:
JSONParser p = new JSONParser();
Hashtable h = p.parse(new InputStreamReader(new ByteArrayInputStream(temp));
With XML you will get a hierarchy Element object you can traverse from the XMLParser which is pretty similar. Check out the Codename One developer guide for further details.