- π―π΅Japan ptmkenny
Upon further inspection, the JSON:API Extras module has a field enhancer that can be used to return decoded JSON data from a JSON field.
1. Install JSON:API Extras.
2. Go to admin/config/services/jsonapi/resource_types/ and override the desired resource type.
3. For the JSON field, click Advanced.
4. Select JSON Field for the enhancer.So since a major ecosystem contrib module already provides a way to do this, I think this issue can be closed.
- Status changed to Active
almost 2 years ago 11:25am 20 May 2023 - πΊπΈUnited States DamienMcKenna NH, USA
Thanks for spotting that, ptmkenny. Let's document it somewhere.
- last update
almost 2 years ago 14 pass - @ptmkenny opened merge request.
- Status changed to Needs review
almost 2 years ago 3:12pm 21 May 2023 -
DamienMcKenna β
committed 5f1c11f5 on 8.x-1.x authored by
ptmkenny β
Issue #3281344 by ptmkenny, DamienMcKenna: Document how to return JSON...
-
DamienMcKenna β
committed 5f1c11f5 on 8.x-1.x authored by
ptmkenny β
- Status changed to Fixed
almost 2 years ago 2:10pm 12 June 2023 - πΊπΈUnited States DamienMcKenna NH, USA
I made some minor tweaks. Committed. Thank you.
Automatically closed - issue fixed for 2 weeks with no activity.