Open
Description
In the below block, we effectively deserialize maps/arrays twice - first to find out how long they are, second to feed that number of bytes into ObjectMapper.readValue
. We should investigate if its possible to pass the bytes in from their starting offset, and to find out after the fact how many bytes were read so we can advance the underlying buffer. Perhaps with a custom Reader that keeps track of how many bytes it has read?