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.

Force mongodb to output strict JSON

I want to consume the raw output of some MongoDB commands in other programs that speak JSON. When I run …

json mongodb shell bson
Bson - How to convert JSON to List<Document> and List<Document> to JSON?

I'm using Java Driver 3.0 with MongoDB in order to send JSONs through a webservice. When I want to convert a …

java mongodb bson
Simple Editor for BSON Databases

Does anyone known of a simple utility for editing a simple BSON database/file?

json bson
MongoDB Java Driver - Use exists projection in find query

I want to get all documents where the field download does not exists find{ "download" : {$exists: false}} For Java I …

java mongodb bson mongo-java
Using mongodb go driver for decoding documents into structs with custom type fields

I'm a beginner in both go and mongodb. I try to decode a DocumentResult into a struct using bson tags, …

mongodb go unmarshalling bson mongo-go
Fastest possible Javascript object serialization with Google V8

I need to serialize moderately complex objects with 1-100's of mixed type properties. JSON was used originally, then I …

javascript serialization v8 bson embedded-v8
Dictionary<string, object>-to-BsonDocument conversion omitting _t field

I'm using ToBsonDocument extension method from MongoDB.Bson to convert this Dictionary: var dictionary = new Dictionary<string, object> {{"…

c# mongodb dictionary bson
Unable to print BSON object from javascript

My mongoDB collection looks like this : { "_id" : ObjectId("5070310e0f3350482b00011d"), "emails" : [ { "_id" : ObjectId("5070310e0f3350482b000120"), "_type" : "Email", "…

javascript mongodb find bson
MongoDB: BSON to JSON

I'm using the native mongoDB driver for node.js. I'd like to get some data from the database and send …

json node.js mongodb bson
Handling Custom BSON Marshaling

I have a number of structs that require custom marshalling. When I was testing I was using JSON and the …

json mongodb go bson