I am using orjson through most of my app, but there is one place where I end up having to use the stdlib json parser and that's when I'm consuming a sequence of blobs, like this:
This is because the stdlib decoder.raw_decode() method returns the parsed object and an index, which indicates the last byte of the input data that was read. This allows the parser to be run again on the remaining data in the input.
Would it be possible to add something like the index return value to orjson?