groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Laforge <glafo...@gmail.com>
Subject Re: JsonSlurper LAX parser with invalid number handling
Date Thu, 19 Nov 2015 20:15:53 GMT
Hi Pascal,

For me, if it's an invalid number, it should fail on parsing.

Guillaume

On Thu, Nov 19, 2015 at 8:33 PM, Pascal Schumacher <pascalschumacher@gmx.net
> wrote:

> Hello everybody,
>
> any opinions on how the Json LAX parser should handle an invalid number?
>
> a) fail parsing
> b) parse it as string
> c) fail on access
>
> See: https://issues.apache.org/jira/browse/GROOVY-7630 and
> https://github.com/apache/incubator-groovy/pull/189 for details.
>
> Thanks to John for all the work he put into this.
>
> -Pascal
>



-- 
Guillaume Laforge
Apache Groovy committer & PMC member
Product Ninja & Advocate at Restlet <http://restlet.com>

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> / Google+
<https://plus.google.com/u/0/114130972232398734985/posts>

Mime
View raw message