Re:JSON5 is a proposed extension to JSON
by spellboots on Sunday March 02, 2014 @01:50PM
(#7330207)
If the author of the JSON spec and JSMin says it's the right tool for the job, I am inclined to trust him on that barring further evidence that it is not...
Re:JSON5 is a proposed extension to JSON
by reverius42 on Saturday March 08, 2014 @06:50PM
(#7366883)
Since when does Crockford say that JSMin is the right tool for this particular job: translating JSON5 into regular JSON?
function JSON5_to_JSON(str) { return JSON5.parse(str).stringify(); }
This is exactly what is suggested in the Usage section of the linked article.