kgabis/parson

question: Does parson aim to be a streaming parser?

Closed this issue · 1 comments

I can't find it explicitly, but does parson aim to be a streaming parser, i.e., does it have bounded memory usage? I might have to parse arrays of upfront unknown amount of items. Yet I'd really like the traversal capabilities of parson

Sorry, streaming is not possible with parson. When it comes to memory usage you can use custom allocators with json_set_allocation_functions.