Please note: New lexers are contributed to Rouge from the community. Your request will help the community in developing a lexer but it does not mean that anyone will develop the lexer.
This is basically JSON with couple improvements (e.g. comments).
Implementation in other libraries
I can't find JSON5 in Pygments or Chroma or HighlightJS. I could find something like: https://github.com/gutenye/json5.vim and it is also supported by IntelliJ Idea.
Please note: New lexers are contributed to Rouge from the community. Your request will help the community in developing a lexer but it does not mean that anyone will develop the lexer.
JSON5 JSON5 a.k.a. JSON for humans: https://json5.org/
This is basically JSON with couple improvements (e.g. comments).
Implementation in other libraries I can't find JSON5 in Pygments or Chroma or HighlightJS. I could find something like: https://github.com/gutenye/json5.vim and it is also supported by IntelliJ Idea.