pub fn collect_refs(value: &Value, out: &mut Vec<String>)
Collects every $ref target string in value.
$ref
value
Used by emitter tests to prove that a finished document has no dangling references and no surviving $defs.
$defs