RegexConverter public class RegexConverter : JsonConverter Converts a Regex to and from JSON and BSON. Documentation public RegexConverter()