I am using the following design for JSON response
{
"metadata": [
"count": <count of entities>
],
"debug": [
<debug messages>
],
"results": [
<List of results>
],
"errors": [
<List of errors>
]
}
Is there any better design or blueprint for returning the response JSON