Skip to main content

redact_json_text

Function redact_json_text 

Source
pub fn redact_json_text(input: &str) -> String
Expand description

Redact a serialized JSON payload. Malformed input is treated as ordinary text and still receives shape-based scrubbing; persistence never fails open.