Closed ignacio-dev closed 11 months ago
trailing comma is supported only at the end, the remaining left side of json substring itself must be valid json. if you are looking for comma, comments etc anywhere in json string https://github.com/adhocore/json-comment will do that.
Thank you for pointing to an alternative :)
When I try fixing this variable:
It throws this exception:
If I remove the trailing comma it works, but I thought this library was capable of removing trailing commas on my json?