SyntaxFix
Write A Post
Hire A Developer
Questions
Have been struggling with this till I found out the answer:
Use GSON library:
Gson gson = Gson(); String str_json = gson.tojson(jsonArray);`
Pass the json array. This will be auto stringfied. This option worked perfectly for me.