I saw this link: How to parse a JSON and turn its values into an Array? and thought it was useful. This would work for me, except 1 thing. I dont have a referencer. I have:
["some_long_string"]
and that is it as the data. I dont know why it is like this, but when i check to log, thats what the data in my Java spits out.
With the example in the above link, i was looking at the JSONObject with Java, denoted also by their site: http://www.json.org/java/
I see an option to resolve this but not quite sure on syntax. If you can help that would be great. My attempt is something like:
JSONObject myjson = new JSONObject(data);
//String item = myjson.getStrings()[0]; //or something like this.