0

Hello im trying to handle this JSON output from my php server for my android app how would i go about doing this? what i would like (if you can do this in java) is to handle it as follows $resArray[0]["username"] i know this may not be possible but i will need access to each individual element

[  
   {  
      "id":"6",
      "username":"MasonMoo",
      "isLocked":"0",
      "isOpen":"1",
      "profileImage":"",
      "gender":"Male"
   },
   {  
      "id":"7",
      "username":"AndrewAubury",
      "isLocked":"0",
      "isOpen":"1",
      "profileImage":"",
      "gender":"Male"
   }
]
Andrew Aubury
  • 113
  • 12

0 Answers0