Skip to main content

collect_refs

Function collect_refs 

Source
pub fn collect_refs(value: &Value, out: &mut Vec<String>)
Expand description

Collects every $ref target string in value.

Used by emitter tests to prove that a finished document has no dangling references and no surviving $defs.