Skip to main content

parse_ref

Function parse_ref 

Source
pub fn parse_ref(ref_str: &str) -> Result<ParsedRef, RefResolutionError>
Expand description

Parses a fragment-only $ref string into a ParsedRef.

ยงErrors

Returns RefResolutionError for non-fragment refs, unsupported fragment paths, invalid JSON Pointer escapes, or malformed segments.