pub fn keys(&self) -> Vec<String> {
        let mut result = Vec::new();
        if let Value::Object(o) = &self.json {
            for (k, v) in o {
                result.append(&mut Self::collect_keys(k, v));
            }
        }
        result.sort();
        result
    }
/// Returns all keys separated by dot and sorted alphabetically.
Returns all keys separated by dot and sorted alphabetically.
Returns all keys separated by dot and sorted alphabetically .
pub fn keys(&self) -> Vec<String> {
        let mut result = Vec::new();
        if let Value::Object(o) = &self.json {
            for (k, v) in o {
                result.append(&mut Self::collect_keys(k, v));
            }
        }
        result.sort();
        result
    }
pub fn keys ( & self ) -> Vec < String > { let mut result = Vec :: new ( ) ; if let Value :: Object ( o ) = & self . json { for ( k , v ) in o { result . append ( & mut Self :: collect_keys ( k , v ) ) ; } } result . sort ( ) ; result }
Returns all keys separated by dot and sorted alphabetically.
Returns all keys separated by dot and sorted alphabetically .
&self
&self