extract_relations_from_json

Function extract_relations_from_json 

Source
pub fn extract_relations_from_json(value: &Value) -> Vec<RelationInfo>
Expand description

Extracts document relations from a JSON content tree.

Recursively walks the JSON tree and collects objects that have both _id and type keys, returning them as RelationInfo entries.