Does bson_json_reader_new's allow_multiple have an effect?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: json, libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Investigate what allow_multiple is supposed to mean and whether it has an effect. Test and document the reality. This about parsing a buffer like:

      {"a": 1}{"a": 1}{"a": 1}
      

      Read the YAJL documentation to see what it's supposed to mean.

      Could be that our error-handling code recovers when allow_multiple is false but we detect multiple docs, causing libbson to act as if allow_multiple is always true.

              Assignee:
              Unassigned
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: