3 ms·
JS has stringify and parse, so there ought to be a JSON parser somewhere.
by Volt 10y ago
JS has stringify and parse, so there ought to be a JSON parser somewhere.
- dfox 10y agoOne thing that the article mentions is that there are in fact strings that are valid JSON but not valid JS object literals.
- Macha 10y agohttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse https://developer.mozilla.org/en/docs/Web/JavaScript/Referen... A modern JS implementation should also have a JSON parser