O'Reilly logo
  • William Harmer thinks this is interesting:

So, if you want to save information, you simply use the JSON protocol:{ name : 'Gautam Rege', passion: [ 'Ruby', 'MongoDB' ], company : { name : "Josh Software Private Limited", country : 'India' } } The previous example shows us how to store information:String: "" or '' Integer: 10 Float: 10.1 Array: ['1', 2] Hash: {a: 1, b: 2}

From

Cover of Ruby and MongoDB Web Development Beginner's Guide

Note

test note