Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-630

EXT JSON Parser Empty Object Handling

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.1.0
    • Affects Version/s: None
    • Component/s: JSON & ExtJSON
    • Labels:
      None

      The EXT JSON parser doesn't handle empty objects correctly. For the following JSON:

      command: {
        cursor: {},
        command_name: "name"
      }

      the "command_name" key is parsed as part of the cursor object.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: