I have a Json String and I am trying to convert it to an array in Java.
public void DisplaySubjects(String subjects) { JSONObject jsonResponse;
You could try something like:
new JSONArray(jsonString)
or if it is a property:
jsonObject.getJSONArray(propertyName)