Re:JSON5 is a proposed extension to JSON
by mmastrac on Saturday March 01, 2014 @06:17PM
(#7326632)
JSON is JS. If I manually create a JSON document, it should also be valid in the context of code. And strings are not dates -- they are strings. That's why we have boolean and number literals.
[ Parent
| on HN ]
So many other languages use JSON as a data format that keeping a weird constructor call in there would do more harm than good. Especially since you can keep the formatting code in your codebase and invoke that when you need to use that property.