Ah, you're right. I just looked at the source for JsonItemWriter and it looks 
like if you set it to less than 0 it counts as infinity.

R

On Sep 10, 2012, at 10:45 AM, Felix Meschberger wrote:

> Hi
> 
> Am 08.09.2012 um 22:16 schrieb Robert A. Decker:
> 
>> Hi,
>> 
>> It'd be nice if there was a way to indicate 'infinity' in the 
>> maxRecursionLevels for the JsonItemWriter.
> 
> You might want to use -1. Me thinks this means "inifity"
> 
> Regards
> Felix
> 
>> 
>> Instead, for now, I'm just setting it to a high number.
>> 
>> That said though, I just wrote my first servlet filter (that gzips data) and 
>> the small amount of code I had to write was surprising. Very nice.
>> 
>> Rob
> 
> 

Reply via email to