examples/objects/dumping_data_structures.js
"use strict";

var user = {
   'name' : 'Foo Bar',
   'emails' : [
       'foo@bar.com',
       'foobar@gmail.com'
   ]
};
console.log(JSON.stringify(user, undefined, 2));
"{
  "name": "Foo Bar",
  "emails": [
    "foo@bar.com",
    "foobar@gmail.com"
  ]
}"