pub fn redact_json_value(value: &mut Value)Expand description
Redact secrets in every string of a JSON value, in place.
Recurses into arrays and objects; numbers, booleans, and nulls are left untouched. Use this before persisting or transmitting tool arguments, tool results, or other semi-structured payloads that may embed secrets.