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

JsonReader fails on some forms of Date expressions

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: 1.1
    • Component/s: None
    • None

      Here are some examples of JSON documents that JsonReader fails to parse:

      { date: Date() } { date: new Date() } { date: new Date("2011-01-01") } { date: Date("2011-01-01") } { date: new Date(2011,0,1) } { date: Date(2011,0,1) }

      There may be others...

      While these forms would never be output by JsonWriter and are also not strictly JSON, they are commonly used and it would be helpful to support them.

            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: