Adding a single object wrapper allows to transport paging information,
success/error messages,
execution time and more to come.
Suggested envelope object:
{
"success": true,
"error": {
"message": "in case success=false some error message text"
},
"executionTime": 1.22,
"nextPage": 2,
"total": 87,
"data": [] or {}
}
Original issue reported on code.google.com by wixner@gmail.com on 18 Feb 2010 at 2:06
Original issue reported on code.google.com by
wixner@gmail.com
on 18 Feb 2010 at 2:06