powered by
mongo.bson.buffer.create()
buf <- mongo.bson.buffer.create() mongo.bson.buffer.append(buf, "name", "Donna") b <- mongo.bson.from.buffer(buf)
Run the code above in your browser using DataLab