Package org.bson

Class BsonDocumentWriter

java.lang.Object
org.bson.AbstractBsonWriter
org.bson.BsonDocumentWriter
All Implemented Interfaces:
Closeable, AutoCloseable, BsonWriter

public class BsonDocumentWriter extends AbstractBsonWriter
A BsonWriter implementation that writes to an instance of BsonDocument. This can be used to encode an object into a BsonDocument using an Encoder.
Since:
3.0
See Also: