fast_jsonapi icon indicating copy to clipboard operation
fast_jsonapi copied to clipboard

Remove the meta root key

Open TasnimMehzabin opened this issue 6 years ago • 1 comments

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 }

TasnimMehzabin avatar Oct 21 '19 14:10 TasnimMehzabin

I think this is not possible because it is not JSON:API conformant.

You can always amend the serializable hash yourself afterwards though.

doits avatar Dec 26 '19 20:12 doits