DeserializeJson Parsing Error with Scientific Notation

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:

{ "creditBalance" : 0E-9}

#isjson(str)#

You might be looking for http://bugs.lucee.org
That is the official channel.

Regards, Michael2015-11-20 16:56 GMT+01:00 Ben Rosamond <@Ben_Rosamond>:

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:

{ "creditBalance" : 0E-9}

#isjson(str)#


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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/dfd3008a-2182-4d67-8a37-1adc470eb64a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/dfd3008a-2182-4d67-8a37-1adc470eb64a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Michael van Leest