I'm using wordpress json-api wordpress plugin and wish to call get_date_index. The json response from the function is within below format.

{
"status": "ok",
"permalinks": [
 "...",
"...",
"..."
],
"tree": {
"2009": {
  "09": 17,
  "10": 20,
  "11": 7
},
"2010":{
 }
}

Note: the tree is arranged by response.tree.[year].[month].[quantity of posts].

How do you parse this response with java Parcelable object? I'm using google json to parse the response. I'm not in a position to learn how to write the java object for tree response.

Should you mean google-gson the paperwork say something for this effect:

 Gson gson = new Gson(); // Or use new GsonBuilder().create();
 MyType target = new MyType();
 MyType target2 = gson.fromJson(json, MyType.class); // deserializes json into target2

json will be the string responseText.