jsoneditor icon indicating copy to clipboard operation
jsoneditor copied to clipboard

How do I disable Bad String errors?

Open BloomAutist47 opened this issue 3 years ago • 1 comments

I'm using this jsoneditor as a soft editor for my app, nothing too strict as I'm not exactly parsing json but a dictionary.

image

Is there a way to disable this? The error that comes when there's an extra , on the end of a list

BloomAutist47 avatar Apr 16 '22 10:04 BloomAutist47

The JSON editor only supports valid JSON, and a trailing comma is not valid JSON. It's not possible to get rid of this error. You can click the "Repair" button though to remove things like trailing commas and make it valid JSON.

josdejong avatar Apr 16 '22 15:04 josdejong