JSON can be parsed despite stray "}" characters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.6.0
    • Affects Version/s: None
    • Component/s: json
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Invalid JSON like this is accepted by our parser:

      {"aggregate": "collection", "pipeline": [{"a": 1}]},"collation": {"locale": "en"}
      

      There's a stray "}" after the pipeline, and the closing "}" is missing, but it's parsed as if valid.

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

                Created:
                Updated:
                Resolved: