JSON In Node.js

As I continue to play with Node.js one of the common tasks that I wanted to understand more was how to work with JSON objects and files. I constructed the code below to remind me later how to turn a JSON object to a string, how to write out to a file, then how to read in the file and parse back to a JSON object…


Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: