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

Docs for bson_new_from_json and bson_init_from_json incorrectly state that input requires a single JSON object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.24.1
    • Affects Version/s: None
    • Component/s: BSON

      Docs for bson_new_from_json and bson_init_from_json state:

      Only a single JSON object may exist in data or an error will be set and NULL returned.

      These functions both utilize bson_json_reader_new. Docs for bson_json_reader_new and bson_json_data_reader_new correctly state that the allow_multiple parameter is unused (see: CDRIVER-1332).

            Assignee:
            adrian.dole@mongodb.com Adrian Dole
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: