Y
Hacker News
new
|
ask
|
show
|
jobs
by
tree_of_item
3524 days ago
Object literals aren't JSON, though.
1 comments
Volt
3524 days ago
JS has stringify and parse, so there ought to be a JSON parser somewhere.
link
dfox
3524 days ago
One thing that the article mentions is that there are in fact strings that are valid JSON but not valid JS object literals.
link
Macha
3522 days ago
https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
A modern JS implementation should also have a JSON parser
link