groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijaykumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-7483) JSONSlurper returns wrong value for floating point in Groovy 2.4.3
Date Wed, 01 Jul 2015 10:07:04 GMT
Vijaykumar created GROOVY-7483:
----------------------------------

             Summary: JSONSlurper returns wrong value for floating point in Groovy 2.4.3
                 Key: GROOVY-7483
                 URL: https://issues.apache.org/jira/browse/GROOVY-7483
             Project: Groovy
          Issue Type: Bug
            Reporter: Vijaykumar


I'm upgrading groovy 2.4.3. But i see blocking issues causes test case failures.

JSONSlurper returns wrong value.

For example:
When i pass the value 5.0, then it is returned as 5.
new JsonSlurper.parseText(obj). 

I hope, this issue was reported by the earlier version of groovy. 

I need to know what is the workaround for this issue?


Thanks,
Vijay






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message