3 ms·
This is a popular question, the most common answer I’ve seen is: > Commas exist mostly to help JSON be human-readable. They have no real syntactic purpose as o
by merelysounds 1y ago
This is a popular question, the most common answer I’ve seen is:
> Commas exist mostly to help JSON be human-readable. They have no real syntactic purpose as one could make their own notation without the commas and it'd work just fine.
https://stackoverflow.com/a/36104693 https://stackoverflow.com/a/36104693
Elsewhere such commas can be optional, e.g. in clojure: https://guide.clojure.style/#opt-commas-in-map-literals https://guide.clojure.style/#opt-commas-in-map-literals