BSON stands for Binary JSON.
BSON stands for binary JSON (It is a superset of the JSON data with some more data types in it and most importantly it is a binary byte array). It is also used as a serialization format used in MongoDB.
A document such as {"hello":"world"} will be stored as:
Bson:
\x16\x00\x00\x00 // total document size
\x02 // 0x02 = type String
hello\x00 // field name
\x06\x00\x00\x00world\x00 // field value (size of value, value, null terminator)
\x00 // 0x00 = type EOO ('end of object')
| Acronym | Full Form |
|---|---|
| SOAP | Simple Object Access Protocol |
| HTML | Hypertext Markup Language |
| JSON | JavaScript Object Notation |
| BLOB | Binary Large Object |
| UML | Unified Modeling Language |
| AJAX | Asynchronous JavaScript and XML |
| API | Application Programming Interface |
| APK | Android Application Package |
| ASP | Active Server Page |
| BASIC coding | Beginner's All-Purpose Symbolic Instruction Code |
| EJB | Enterprise Java Beans |
| PHP | Hypertext Preprocessor |
| SQL | Structured Query Language |
| XML | eXtensible Markup Language |
| CGI | Computer-Generated Imagery |
| CSS | Cascading Style Sheet |
| COBOL | Common Business Oriented Language |
| CLI | Command Line Interface |
| DHTML | Dynamic Hyper Text Markup Language |
| DTD | Document Type Declaration |
| DOM | Document Object Model |