Thank you Tatu.

On Friday, December 18, 2020 at 1:21:19 AM UTC+1 Tatu Saloranta wrote:

> On Thu, Dec 17, 2020 at 4:16 PM Meissa M'baye Sakho <[email protected]> 
> wrote:
> >
> > Hello everyone,
> > Is a limit to the size of JSON file that can be handled by Jackson?
> > The JSOn file that I will have to generate can be very huge. I'm dumping 
> an entire cache to a json file for further restore.
>
> No limit to either input or output: for streaming (JsonParser,
> JsonGenerator) only part of the document is ever in memory at any
> given moment.
> There are plans to allow limiting input size via configurable
> settings, at this level, but no maximum is currently imposed.
>
> Databind does not limit content size either, but obviously available
> memory may limit maximum processable amounts.
> It is often possible to bind only part(s) of document, to use
> streaming JsonParser to advance stream, and then use ObjectMapper
> to just bind a subset (like individual document from longer stream),
> to work around this limitation too.
>
> -+ Tatu +-
>
>
> > Any input is appreciated.
> > Thanks
> >
> > --
> > 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/jackson-user/beb7fa62-b8ea-40e5-8c2d-659a4ba7cf42n%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/66761079-2eae-448e-9c7a-39e7fc1d2bf0n%40googlegroups.com.

Reply via email to