56 ms·
If the key is not present, the value is "undefined" in JS. "null" is a supported value in JSON, to explicitly mark something as nonexistent. For me the biggest
by svachalek 11y ago
If the key is not present, the value is "undefined" in JS. "null" is a supported value in JSON, to explicitly mark something as nonexistent.
For me the biggest problem with JSON is lack of full floating point support, i.e. NaN, +-Infinity, -0.
- amelius 11y agoYou can stringify an object containing a property with an undefined value. Imho, parsing that back should give exactly the same data structure.