Uploaded image for project: 'Lucee Development'
  1. LDEV-1322

deserializeJSON doesn't handle e-notation numbers correctly

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2.42
    • Labels:
      None
    • Sprint:
      May-June 2017 Sprint

      Description

      <cfset str = '

      { "relevance": 2E-7 }

      '>
      <cfdump var="#deserializeJSON(str)#">

      throws an exception but the json is correct (http://www.json.org/)

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              rotter Thomas Rotter
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: