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

XMLWordPrintableJSON

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

      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
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: