gnieh / fs2-data

streaming data parsing and transformation library

Home Page:https://fs2-data.gnieh.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Json Stream Wrappers

satabin opened this issue · comments

A use case for fs2-data might be to generate Json data in a streaming manner and not transform parsed data. I this case it can be interesting to have pipes to wrap the produced data into some array/object structure in a safe way (i.e. while ensuring the produced sequence of tokens is valid).

This is based on a question asked on gitter.