Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-5701

Remove bson_as_json

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change
    • C Drivers
    • Needed
    • Hide

      Replace use of bson_as_json. bson_as_json produced Legacy Extended JSON.

      https://github.com/mongodb/docs-c/blob/0460cf2ae1a47c81de989d5f316938318ff42202/source/includes/write/gridfs.c#L78 uses bson_as_json. Suggest replacing with bson_as_relaxed_extended_json to produce Relaxed Extended JSON (easier to read than Canonical Extended JSON, but still portable among drivers).

      Show
      Replace use of bson_as_json . bson_as_json produced Legacy Extended JSON. https://github.com/mongodb/docs-c/blob/0460cf2ae1a47c81de989d5f316938318ff42202/source/includes/write/gridfs.c#L78 uses bson_as_json . Suggest replacing with bson_as_relaxed_extended_json to produce Relaxed Extended JSON (easier to read than Canonical Extended JSON, but still portable among drivers).
    • None
    • None
    • None
    • None
    • None
    • None

          Assignee:
          kevin.albertson@mongodb.com Kevin Albertson
          Reporter:
          kevin.albertson@mongodb.com Kevin Albertson
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved:
            None
            None
            None
            None