Function apply_secure_replacements

Source
pub fn apply_secure_replacements(
    value: &Value,
    secure_values: &HashMap<String, SecureValue>,
) -> Value
Expand description

Recursively walk through the JSON value. If a JSON string exactly matches one of the keys in the secure values map, replace it with the corresponding secure value.