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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.24.1
    • None
    • BSON

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: