I have tried to parse a JSON object by lot of ways but can't figure out how to parse that.
This is my json string:
 {
  "JSONDataResult":
        {"Messages":
                   [{ "Id":"0",
                      "Category":"Sport",
                      "Title":"It's a goal",
                      "Content":"sport content"
                    }]
        }
 }
I tried this:
        JSONArray arr = result.getJSONArray("Messages\\");
        for (int j = 0; i < arr.length(); j++)
        {
            String post_id = arr.getJSONObject(i).getString("post_id");
            Id = result.getString("Id\\");
            Title = result.getString("Title\\");
            Content = result.getString("Content\\");   
        }
 
     
    