If your JSON string format is the same you can use the following code to get your desired result:
jsonString = jsonString.replaceAll("(\"\\{\")","\\{\"").replaceAll("(\"\\}\")","\"\\}");
It simply removes all the leading and trailing double quotes from every array element.
You can convert your string into JSON using the following code:
JSONObject jsonObject= new JSONObject(jsonString);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.