JavaScript Object Notation (JSON) is an open, human and machine-readable standard that facilitates data interchange, and along with XML is the main format for data interchange used on the modern web. JSON supports all the basic data types you’d expect: numbers, strings, and boolean values, as well as arrays and hashes.
MongoDB use JSON documents in order to store records, just as tables and rows store records in a relational database.
An example of JSON is:
BSON or BinaryJSON is the internal representation of data in the mongo database.
The main advantages of BSON are:
The main advantages of BSON are:
· * Fast Scanability
· *Data Types – Extra data types like date
datatype, BinData (Byte Array-Images etc),ObjectId
The internal representation of the BSON format will be as below:
Comments
Post a Comment