groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Laforge <>
Subject Re: Questions about JSonSlurper
Date Sun, 31 May 2015 12:02:03 GMT
How big is your JSON payload?
Our parsers are quite efficient.

JsonSlurper is cheap to build, and you should build one per thread.

There's also the JsonLexer that could be used, if you want to do it in a
token streaming fashion.


2015-05-31 13:28 GMT+02:00 Rakesh Patel <>:

> Does it support token streaming or do I have to use something like
> Jackson? I have a very big Json payload to process.
> Is JsonSlurper thread safe? Or do I need to new one up each time per
> thread?
> Thanks

Guillaume Laforge
Groovy Project Manager
Product Ninja & Advocate at Restlet <>

Social: @glaforge <> / Google+

View raw message