I made a set of data and put into a JSON array and convert it to string so that I could store it into my sqlite database. When I take it out, it is a String and it has the form of a JSON array:
String temp = ["0", "1", "2", "3",.....]
Is there any easy way for me to make this into a String array, JSON array or I have to use the old fashion method(substring, split.etc)?
You can easily turn it back into a
JSONArrayby just constructing a new instance:If you need to go further, you could iterate over the array and turn it into a collection: