- Issue created by @tnfno
- Status changed to Postponed: needs info
6 months ago 10:21pm 18 June 2024 - 🇦🇺Australia imclean Tasmania
Try this first, from the project page → : In your "REST export nested" display, edit your fields settings and select "Raw output" for the JSON field.
If that doesn't resolve your issue, provide step by step instructions on how to reliably replicate the issue.
- 🇳🇴Norway tnfno
I have tried that, both in parent and child.
If I select RAW in parent view:answers": "[{\"id\":3,\"answer\":\"Svar11\",\"followUpQuestions\":[\"744\"]},{\"id\":2,\"answer\":\"svar3\",\"followUpQuestions\":[\"744\"]},{\"id\":1,\"answer\":\"Ansver34\",\"followUpQuestions\":[\"745\",\"744\"]}]"
changes to
answers": null
If I change it in for fields in child view it is unchanged.
So everything works, except the JSON from the child view gets embedded in quotes.
I have attached two screenshots of the parent and child view page.
Since the output of the child view looks OK, I believe the quotes are added by the parent view.
Will make stripped down example with instructions to reproduce.
- 🇦🇺Australia imclean Tasmania
Create the simplest views possible to replicate the problem, export their config, and upload it here so we can test using exactly the same configuration.
- Status changed to Closed: works as designed
6 months ago 8:40pm 24 June 2024