i am using google custom search engine and getting the results in JSON format.for certain queries,the JSON result has duplicate keys and hence it produces a JSONException: D
If you really need this functionality, roll back to gson 1.6. Duplicate keys are allowed in that version.