While serializing an Object to JSON, how can I limit / put a threshold on:
1. The depth/nesting of objects (i.e. serialize up to 'n' levels only)
2. Size of collections (i.e. serialize only 'n' number of items of the 
collection)

I'm searching for a solution that works for 3rd party classes (source code 
of classes not available). Deserializing the JSON back is not a concern, 
I'm only serializing them.
Using jackson-core, version 2.8.6

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to