Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1951

Incorrect quoting in "code" to json

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: json, libbson
    • Labels:
      None

       ./example-client 
      { "_id" : { "$oid" : "58211a3176d7e4da02ded8b3" }, "hello" : "world" }
      { "_id" : { "$oid" : "58211a53b9f65c412c1560bf" } }
      { "_id" : { "$oid" : "58211a7eb9f65c412c1577ed" } }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be2" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be3" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be4" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be5" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be6" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be7" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be8" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076be9" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076bea" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829e9f6b9f65c3988076beb" }, "code" : "var a = {};" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369222" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369223" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369224" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369225" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369226" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369227" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369228" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c369229" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c36922a" }, "code" : "function() { return \"a" }
      { "_id" : { "$oid" : "5829ea48b9f65c3b1c36922b" }, "code" : "function() { return \"a" }
      

      that return \"a" looks like a bug

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: