Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2096

BSON UDL for from_json

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: BSON

      Instead of forcing users to call bson::from_json like so:
      auto doc = bson::from_json("[1,2,3]")

      We could provide a UDL, i.e.,:
      auto doc = "[1,2,3]"_bson

            Assignee:
            raymund.rodriguez@mongodb.com Raymund Rodriguez
            Reporter:
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: