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#

    XMLWordPrintable

    Details

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

      Description

      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?

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: