Zulu-Inuoe/jzon

Binary stream/Octet vector support

Zulu-Inuoe opened this issue · 1 comments

It might be useful to some people to have binary streams support (read-byte rather than read-char).
Because RFC 8259 specifically requires UTF-8, it should be doable without too much effort.

This is primarily in cases where the user already has a stream open from another source, or has a vector of ub8 they'd like to parse as JSON (eg an SQL column)

One thing that stuck out to me in implementing 82eab57 is that stringify would need to be altered to allow outputting a vector, if that's something anyone wants.
I'm erring on saying it's not, but leave it open in case anyone has thoughts