pub fn value_to_triples<'a>(value: &'a Value) -> Vec<Triple<'a>> {
    let root = Val::Entity(0);
    let root_prop = Val::Str("root");

    let mut triples = Vec::new();

    write_value_to_triples(root, root_prop, value, &mut triples);

    triples
}
/// Converts a JSON [`Value`] into a collection of [`Triple`]s that represent
/// that object and that can be queried, and writes them to the given vector.
Converts a JSON [`Value`] into a collection of [`Triple`]s that represent
that object and that can be queried, and writes them to the given vector.
Converts a JSON [ ` Value ` ] into a collection of [ ` Triple ` ] s that represent that object and that can be queried and writes them to the given vector .
pub fn value_to_triples<'a>(value: &'a Value) -> Vec<Triple<'a>> {
    let root = Val::Entity(0);
    let root_prop = Val::Str("root");
    let mut triples = Vec::new();
    write_value_to_triples(root, root_prop, value, &mut triples);
    triples
}
pub fn value_to_triples < ' a > ( value : & ' a Value ) -> Vec < Triple < ' a > > { let root = Val :: Entity ( 0 ) ; let root_prop = Val :: Str ( " " ) ; let mut triples = Vec :: new ( ) ; write_value_to_triples ( root , root_prop , value , & mut triples ) ; triples }
Converts a JSON [`Value`] into a collection of [`Triple`]s that represent
that object and that can be queried, and writes them to the given vector.
Converts a JSON [ ` Value ` ] into a collection of [ ` Triple ` ] s that represent that object and that can be queried and writes them to the given vector .
value
&'a Value
value
&'a Value