DeserializeJson Parsing Error with Scientific Notation

31 views
Skip to first unread message

Ben Rosamond

unread,
Nov 20, 2015, 10:56:47 AM11/20/15
to Lucee
Hey folks,

I found a bug in Lucee 4.5.2.018 with DeserializeJSON.  It throws a parsing error when encountering numbers represented with Scientific Notation.  I was wondering if someone could point me to the proper place to report this?  For now, I'm working around it by explicitly replacing the 0E-9 value with 0 before passing it in, but if anyone else has a more reliable workaround, let me know.  

Quick Example:

<cfsavecontent variable="str">
{ "creditBalance" : 0E-9}
</cfsavecontent>

<cfoutput>#isjson(str)#</cfoutput>
<cfset rtn = deserializejson(str)>

Michael van Leest

unread,
Nov 20, 2015, 7:13:55 PM11/20/15
to lu...@googlegroups.com
You might be looking for http://bugs.lucee.org
That is the official channel.

Regards, Michael

--
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/dfd3008a-2182-4d67-8a37-1adc470eb64a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Michael van Leest
Reply all
Reply to author
Forward
0 new messages