Emits a "stream" of JSON records (compatible with something like RecordStream) when encountering a YAML stream instead of just emitting the first record.
For example, if I keep a YAML stream of event data, I might want to aggregate that using tools that prefer to speak JSON:
Emits a "stream" of JSON records (compatible with something like RecordStream) when encountering a YAML stream instead of just emitting the first record.
For example, if I keep a YAML stream of event data, I might want to aggregate that using tools that prefer to speak JSON:
go
is not a language I am terribly familiar with, so please excuse any glaring language or idiom issues. I'm happy to fix.