I\'m new to JSON and REST. I\'m working with a server that returns strings like these:
[{\"username\":\"Hello\",\"email\":\"hello@email.com\",\"credits\":\"1
the code sample
String json = "[{\"username\":\"Hello\",\"email\":\"hello@email.com\",\"credits\":\"100\",\"twitter_username\":\"\"},{\"username\":\"Goodbye\",\"email\":\"goodbye@email.com\",\"credits\":\"0\",\"twitter_username\":\"\"}]";
JsonArray jArray = new JsonParser().parse(json).getAsJsonArray();
for (int i=0;i