Introduction and use of bson in MongoDB
This article mainly introduces the introduction and use of bson in MongoDB. This article describes what bson is, how bson is used in MongoDB, and several BSON examples. For more information, see
1. What is
By convention, I will first introduce what is BSon. BSon is short for BinaryJSON and is a binary storage format of a type of Json. Currently, Bson is mainly used by MongoDB (an open-source database with a popular non-Relational Data Model) to store
In the introduction of MongoDB's bson, BSON can be used as a storage form for network data exchange. This is a bit similar to Google's ProtocolBuffer, but BSON is a schema
In the introduction of MongoDB's bson, BSON can be used as a storage form for
Introduction to MongoDB bson
1. What is bson?
Bson is a type of JSON binary storage format, binary JSON for short. It is the same as JSON and supports embedded document objects and array objects, however, bson has some data types not available in
JSON (JavaScript Object Notation) is a lightweight data exchange format. Simply put, JSON can convert a set of data represented in a JavaScript object to a string, and then it can be easily passed between functions, alternatively, the string is
JSON turn BsonMongoDB is stored in the Bson data format, the JSON string has no way to write directly to MongoDB can convert the JSON string into DBObject or document, and then write to MongoDB1. Convert the JSON character to Com.mongodb.DBObject
1. FastjsonFastjson is a high-performance, fully-functional JSON library written in the Java language. It uses an algorithm of "Suppose ordered fast matching", which improves the performance of JSON parse to the extreme, and is the fastest JSON
Can PowerShell play a NoSQL database? The answer is yes. As long as this database is compatible with. NET, it can be easily used by PowerShell.The original intention: there is little talk about PowerShell calling NoSQL posts in the world, not to
JSON and MongoDBJSON is not just a way of exchanging data, but also a good way to store data, in fact MongoDB does not use JSON to store data, but instead uses an Open data format, called Bson, developed by the MongoDB team.Document-oriented storage
JSON and MongoDBJSON is not just a way of exchanging data, but also a good way to store data, in fact MongoDB does not use JSON to store data, but instead uses an Open data format, called Bson, developed by the MongoDB team.Document-oriented storage
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.