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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.3.0
    • Component/s: Internal Client
    • None
    • None
    • 3
    • None
    • 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 Horowitz (Inactive)
            Reporter:
            Raj Kadam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: