|
|
|
|
|
by xrstf
3596 days ago
|
|
Because using certain keys could break your JavaScript (and JSON was designed to be a subset), like { delete: "me" }
If you don't want to keep a list of known keywords around, just insisting on quotes is the easier way.[EDIT: See also this YouTube video, where Douglas Crockford explains it himself: https://youtu.be/-C-JoyNuQJs?t=5m] |
|