Module capture
Expand description
Streaming JSON value capture.
Capturing is intended for small selected values that a caller wants to
inspect or deserialize as a whole. Non-matching input is still processed as a
stream, while matching object and array subtrees are bounded by
max_capture_bytes.
Structs§
- Capture
Handlers - Selector-bundled capture handlers.
- Captured
Value - One captured JSON value.
- Json
Capturer - Streaming JSON capturer for selected values.
- Owned
Captured Value - One captured JSON value with owned path and raw JSON bytes.
Traits§
- Capture
Handler - Handles selected JSON values captured as raw JSON.
Functions§
- capture_
bytes - Captures selected values from a complete JSON byte slice.
Type Aliases§
- Capture
Result - Result returned by JSON capture handlers.