问题
I can't seem to find the documentation on JSON.parse(...) for Node.js. I just see it littered around various scripts. I was wondering, where does it come from - are there certain callbacks that make it available or is it a global object?
Thanks! Matt Mueller
回答1:
It's built into V8.
Here's a link to their implementation: http://code.google.com/p/v8/source/browse/trunk/src/json.js
来源:https://stackoverflow.com/questions/4857072/is-the-json-object-global-in-node-js