Skip to main content

Module capture

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§

CaptureHandlers
Selector-bundled capture handlers.
CapturedValue
One captured JSON value.
JsonCapturer
Streaming JSON capturer for selected values.
OwnedCapturedValue
One captured JSON value with owned path and raw JSON bytes.

Traits§

CaptureHandler
Handles selected JSON values captured as raw JSON.

Functions§

capture_bytes
Captures selected values from a complete JSON byte slice.

Type Aliases§

CaptureResult
Result returned by JSON capture handlers.