Im trying to parse the following value paramter to a JSONArray (or any other array):
"value":"[{\"fileName\":\"Instructions.docx\",\"filePath\":\"http://someserver/api/files/somefilereference1\"},{\"fileName\":\"Sailing plan.docx\",\"filePath\":\"http://someservert/api/files/somefilereference2\"}]"
As you can see I get the "value" as a string instead of a real array. How can I parse this?
I have tried parsing it to both JSONObject and JSONArray with no success.
Any suggestions?