josdejong / jsoneditor

A web-based tool to view, edit, format, and validate JSON
http://jsoneditoronline.org
Apache License 2.0
11.56k stars 2.04k forks source link

jsonc comment support #972

Open SebastianJ91 opened 4 years ago

SebastianJ91 commented 4 years ago

Hi,

would it be possible to add jsonc support for allowing comments? jsonc is used in some configuration files like Visual Studio Code. Maybe also json5 would be an topic of interest.

A mode switch between standard json or extended json-features would be needed.

josdejong commented 4 years ago

Thanks for your suggestion. There are many JSON dialects. Adding support for them is not on the roadmap any time soon.

See also #658

Heshmatkhah commented 1 year ago

Hi ACE editor supports JSON5, Is there any plan to support it?

josdejong commented 1 year ago

I've no plans to spend time on that anytime soon myself. If anyone is interested in implementing it we can discuss the details to see if it is feasible (it's an open source project), but I expect it will be a lot of work.

kripper commented 7 months ago

JSONC with """ multiline strings (a must!)