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

How to Mimic the [JsonProperty(IsReference = true)] feature of JSON NewtonSoft .NET C#

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.10.2
    • Component/s: Serialization
    • Labels:
      None

      We are currently migrating from RavenDB to MongoDB and are unable to find an equivalent feature of NewtonSofts [JsonProperty(IsReference = true)] .

      https://www.newtonsoft.com/json/help/html/PreserveObjectReferences.htm 1

      Does MongoDB Currently have a built in way to mimic this? If not how would i go about doing such a custom implementation myself with the drivers currenty customization hooks?

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            michael_fyffe@homedepot.com Michael Fyffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: