Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-177

JSON parsing doesn't handle exponents

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2
    • Affects Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      The following code, which tries to parse valid JSON, throws an exception:

      com.mongodb.util.JSON.parse("

      {\"number\" : 3.14e6}

      ")
      com.mongodb.util.JSON.parse("

      {\"number\" : 3.14E6}

      ")

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            jorgeortiz85 Jorge Ortiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: