Module transform
Available on crate feature
std only.Expand description
Streaming JSON transformation with zero-copy pass-through.
A JsonTransform sees every token together with its TokenOrigin and
writes what it keeps into a JsonOutput. When the input arrives as
Bytes (see JsonTransformer::write_bytes), forwarded tokens become
slices of that input, so a transform that keeps most of a document only
copies what it changes.
Structs§
- Json
Output - Output of a
JsonTransform, gathered asByteschunks. - Json
Transformer - Drives a
JsonTransformover a streamed JSON document.
Traits§
- Json
Transform - Transforms a JSON token stream into output bytes.