This is my JSON array data
{"data":"{'Class1','class2'}","success":"1"}
How do I convert this to a string array?
JSONArray jarray = new JSONArray("json string");
But your json is not an array, array's in json are with [ ]
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.