intridea/multi_json

Streaming support?

jordansissel opened this issue · 1 comments

YAJL and Jackson both support io/stream readers and writers.

Thoughts on having support in multi_json for this? I need streaming for logstash and am willing to contribute streaming support to multi_json.

rwz commented

Short answer: no.

MultiJson tries to provide a minimal api that is consistent across different adapter. Streaming is a nice feature, but it's not implemented in all adapters, so MultiJson won't support it.

It's better to use the specified gem, if you want streaming support.