Is there any practical reason to use quoted strings for JSON keys?
The real reason about why JSON keys should be in quotes, relies in the semantics of Identifiers of ECMAScript 3. Reserved words cannot be used as property names in Object Literals without quotes, for example: ({function: 0}) // SyntaxError ({if: 0}) // SyntaxError ({true: 0}) // SyntaxError // etc… While if you use quotes the … Read more