I am using wordpress json-api plugin and want to call get_date_index. The json response of the function is in below format.
{
"status": "ok",
"permalinks": [
"...",
"...",
"..."
],
"tree": {
"2009": {
"09": 17,
"10": 20,
"11": 7
},
"2010":{
}
}
Note: the tree is arranged by response.tree.[year].[month].[number of posts].
How do i parse this response with java Parcelable object? I am using google json to parse the response. I am not able to understand how to write the java object for tree response.
IF you mean google-gson the docs say something to this effect:
jsonwould be the string responseText.