Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-481

C++ driver does not output valid JSON when calling toString()

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.3.0
    • Component/s: Internal Client
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Given these fields:

      title: Keri Hilson ft. Kanye West & Ne-Yo "Knock You Down"
      views: 9

      Inserting them into a mongo::BSONObjBuilder object and then call toString() gets you:

      { title: "Keri Hilson ft. Kanye West & Ne-Yo "Knock You Down"", views: 9}

      it should be:

      { title: "Keri Hilson ft. Kanye West & Ne-Yo \"Knock You Down\"", views: 9}

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            electic Raj Kadam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: