RFC7159§10 says "a JSON generator produces JSON text" but neglects to specify how, soooo JSON.stringify = function() { return "null"; }
-
-
* Small code size (<1kB before minification) * Can serialise arbitrary JavaScript values including functions and cyclical objects
-
(The joke is that JSON is poorly specified)
- 4 more replies
New conversation -
-
-
@qntm There's no stipulation that the deserialized output needs to represent the input document?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@qntm If so, I may need to start a company.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.