Closed iainjreid closed 7 years ago
I've recently found that the Nunjucks filter for JSON is unable to handle circular JSON structures. I have therefore had to patch this myself in my own projects.
Here is the error that I'm getting...
Original Error: Template render error: (<path>) Template render error: Template render error: (<path>) Template render error: Template render error: Template render error: Template render error: Template render error: Template render error: TypeError: Converting circular structure to JSON
I'm very happy to provide my fix for this issue, if you are currently accepting pull requests?
I upgraded to nunjucks v3 (in dgeni-packages 0.20.0) - can you check if this is still an issue?
Closing through lack of response.
I've recently found that the Nunjucks filter for JSON is unable to handle circular JSON structures. I have therefore had to patch this myself in my own projects.
Here is the error that I'm getting...
I'm very happy to provide my fix for this issue, if you are currently accepting pull requests?