Skip to content
YosoiDocs

json_pointer

yosoi::locators::json_pointer

pub fn json_pointer(value: impl Into<String>) -> Result<yosoi::locators::QuerySpec, yosoi::locators::QueryError>

Validates JSON Pointer syntax and declares native JSON-value selection.

The empty pointer denotes the root. Returns [QueryError] for invalid pointer syntax or escapes, without proving resolution in any document.

Source: crates/yosoi/src/internal/documents/query_builders.rs:39

SDK re-export: Source: crates/yosoi/src/locators.rs:11