Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-350

JsonReader doesn't support unquoted element names that start with an underscore

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.1
    • Affects Version/s: 1.3
    • Component/s: None
    • None
    • Fully Compatible

      To reproduce:

      var json = "

      { _x : 2 }

      ";
      var document = BsonSerializer.Deserialize<BsonDocument>(json);

      When the element name is quoted there is no problem.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: