Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-435

Add a mechanism to add filters to (de)serialization.

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.4
    • Feature Request
    • None
    • Fully Compatible

    Description

      It would be useful to have a mechanism to customize the serialization of a field without implementing a custom serializer. For example, if I have an automapped class, I might want to add some value escaping/unescapping to some string properties. This might be specially useful when a string contains characters that are illegal in MongoDB, such as the dot in keys.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            smolav Santiago M. Mola
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: