boothen / Json-Eclipse-Plugin

A fork from the json editor on sourceforge
Eclipse Public License 1.0
64 stars 20 forks source link

[Feature Request] Support for json5 #33

Open Klaboe opened 1 year ago

Klaboe commented 1 year ago

A sub-set of json, json5 is a more relaxed version, aimed to be easier to use by humans.

It would be awesome if this plugin could provide support for this as well; and i think ANTLR4 supports the grammer.

msteiger commented 1 year ago

Very interesting - thanks for the hint. Do you know if there's a grammar available for ANTLR4 ?

Klaboe commented 1 year ago

I think so 😅

There seems to be a json5 lexer parser here: http://lab.antlr.org but im not sure if that is all you need or not

Seems to be found here: https://github.com/antlr/grammars-v4/blob/master/json5/JSON5.g4

Klaboe commented 2 months ago

Did you have a chance to look into this?

msteiger commented 2 months ago

No, sorry. I use IntelliJ now most of the time and don't work on this plugin anymore. If you want to create a PR, I would review and test it, though.

Klaboe commented 1 month ago

Traitor 😆