BsonObjectIdConverter public class BsonObjectIdConverter : JsonConverter Converts a BsonObjectId to and from JSON and BSON. Documentation Code public BsonObjectIdConverter()