resolve JSONException duplicate keys

后端 未结 3 1706
暖寄归人
暖寄归人 2021-01-19 14:45

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

3条回答
  •  醉话见心
    2021-01-19 15:18

    If you really need this functionality, roll back to gson 1.6. Duplicate keys are allowed in that version.

提交回复
热议问题