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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: Feature Request
    • Labels:
      None
    • Backwards Compatibility:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: