4 ms·
Why do you think it is not JSON?
by niyazpk 15y ago
Why do you think it is not JSON?
- padolsey 15y agoIt's just a regular JS object. JSON !== JavaScript object notation. E.g. according to the JSON spec, you should always quote property names (`{"foo":123}`) but regular JS doesn't require this (`{foo:123}`). More: http://benalman.com/news/2010/03/theres-no-such-thing-as-a-json/ http://benalman.com/news/2010/03/theres-no-such-thing-as-a-j...
- catshirt 15y agosure, but somewhat irrelevant, since the point is that the object can be (and likely is at some point) deserialized from json.