JSON parser allows missing comma

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.0.0
    • Component/s: JSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The JsonReader allows JSON documents with missing comma in an array, e.g.

      {
          "a" : [
              { "i" : 1}
              { "i" : 2}
          ]
      }
      

      The intention was likely to allow for extraneous trailing comma, e.g.

      {
          "a" : [
              { "i" : 1},
              { "i" : 2},
          ]
      }
      

      which also succeeds, as it does in the shell.

              Assignee:
              Unassigned
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: