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#

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 2.10.2
    • Serialization
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: