Closed lexisother closed 10 months ago
Not handled by the library and out of the PR scope. At that point just replace the JSON.parse
call with JSON5.parse
from this library. I might do this in CCLoader3 at some point.
The library can handle it. You have to enable it via passing in another argument.
So you'd change it to JSON.parse(stripJsonComments(data, {trailingCommas: true}))
Can I suggest supporting trailing commas as well?