BsonWriter public class BsonWriter : JsonWriter Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. Documentation Code /* Exception of type 'System.OutOfMemoryException' was thrown. */