Open TasnimMehzabin opened 4 years ago
Is there any option to show only the content of meta without showing the "meta" key? Currently if we pass meta data, it shows as follows:
{ "data": null, "meta": { "success": true } }
Is there any way to show it like: { "data": null, "success": true }
{ "data": null, "success": true }
I think this is not possible because it is not JSON:API conformant.
You can always amend the serializable hash yourself afterwards though.
Is there any option to show only the content of meta without showing the "meta" key? Currently if we pass meta data, it shows as follows:
{ "data": null, "meta": { "success": true } }
Is there any way to show it like:
{ "data": null, "success": true }