Replies: 3 comments 2 replies
-
I don't think deviating from the JSON standard is a very good idea. If we're not compliant with it, it will make it harder or even impossible to use external tools that deal with JSON. |
Beta Was this translation helpful? Give feedback.
2 replies
-
At least some IDEs (e.g. Clion) would report such json as incorrect: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sigh. OK. Unfortunate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the JSON validator/formatter errors at having a separator (",") at the end of any array or object. While strictly correct according to the format, this makes it much easier to forget adding a separator when adding new objects (or array lines). I suggest allowing "extra" separators at these places, and possibly even having the autoformatter automatically add them (at minimum, it should not remove them; simply adding them in any event is likely the easiest way to do this).
Beta Was this translation helpful? Give feedback.
All reactions