stream-json icon indicating copy to clipboard operation
stream-json copied to clipboard

Forward value on error

Open ak--47 opened this issue 2 years ago • 2 comments

in JSONL, allow errorIndicator to forward the underlying value input (and reviver), so you have more control over what your JSON streams do in cases of a parse error.

a small feature, but useful for my use case

ak--47 avatar Aug 18 '23 03:08 ak--47

@uhop anything i can add to make this PR more attractive to be included with the lib?

ak--47 avatar Aug 20 '23 16:08 ak--47

It looks good. I plan to merge it in the next release.

uhop avatar Jan 18 '24 17:01 uhop