Top "Bson" questions

BSON stands for "Binary JSON". It is a computer data interchange format used mainly as a data storage and network transfer format in the MongoDB database.

mongodb-go-driver/bson struct to bson.Document encoding

I'm working with https://github.com/mongodb/mongo-go-driver and currently trying to implement a partial update of such struct type …

mongodb go bson mongo-go
MongoDB "NumberLong/$numberLong" issue while converting back to Java Object

I am having a json which is somethink like {"Header" : {"name" : "TestData", "contactNumber" : 8019071740}} If i insert this to mongoDB it …

java json mongodb mongodb-query bson
Which one is lighter, JSON or BSON?

I have written code to serialize objects to JSON and BSON. According to my output, the BSON produced is greater …

java json jackson bson
How to check that mongo ObjectID is valid in python?

I want to verify that the objectID is a valid mongoID string. Currently I have: import bson try: bson.objectid.…

python mongodb pymongo bson objectid
Why is JSON faster than BSON in node.js?

After reading this, there is a quote that stood out: BSON is also designed to be fast to encode and …

json node.js websocket bson
Bson array (de)serialization with Json.NET

I am simply trying to serialize and deserialize a string array in Bson format using Json.NET, but the following …

json.net bson
How to send File through Websocket along with additional info?

I'm developing a Web application to send images, videos, etc. to two monitors from an admin interface. I'm using ws …

node.js websocket base64 bson
MongoDB in Go with mgo, operators with bson.M / bson.D always got syntax error

It is kind of stupid syntax error, tried tons of ways, just couldn't get it work, someone please help. MongoDB …

mongodb go bson mgo
Can strict JSON $dates be used in a MongoDB query?

I'm trying to write a date comparison query using MongoDB's strict JSON representation of BSON. I'd like it to work …

mongodb date bson epoch iso8601
How to get ordered dictionaries in pymongo?

I am trying get ordered dictionaries in Pymongo. I have read it can be done with bson.son.Son. The …

python data-structures pymongo bson