BsonSerializer needs a PopulateObject method

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Works as Designed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Environment:
      MongoDB .NET Driver
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      We want to deserialize a BsonDocument into an object and only overwrite the properties specified in the BsonDocument.

      Json.NET has JsonConvert.PopulateObject(String, Object)

      Unity has JsonUtility.FromJsonOverwrite(String, Object)

      Having BsonSerializer.PopulateObject(String, Object) would be very helpful.

            Assignee:
            Robert Stam
            Reporter:
            PJ Legendre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: