I have JSONArray as below :
[["title","details"],["abc","xyz"],["abc2","xyz2"]]
How to transform into Array of JSONObject as below using Java /JavaScript?
[ { 'title': abc, 'details':xyz,}, {'title': abc2, 'details':xyz2}]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Below code was modified from the solution here to allow multiple arrays of values to be passed.
Example: http://jsfiddle.net/u54tT/1/