JSON Duplicate Keys

David Bruant bruant.d at gmail.com
Fri Jun 7 09:51:24 PDT 2013


Le 07/06/2013 06:41, Kevin Smith a écrit :
>
>     +?
>
>     "Get off my lawn!" comment (I will tag in and tag Doug out of the
>     grumpy old men smackdown ring): you kids stop fiddling with JSON.
>     It needs "fixing" like it needs a hole in the head.
>
>
> Comment syntax sure would be nice though : P
As others suggested, create a different format that looks like JSON and 
has comments. And just add yet another build-step to your build process. 
Very much like what happens with SASS (comments are remove when 
compilation to CSS occurs)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130607/b45b265e/attachment.html>


More information about the es-discuss mailing list