har2api - v0.1.0
    Preparing search index...

    Function redactJson

    • Recursively replace the values of secret-looking keys in a parsed JSON body with REDACTED, leaving structure and non-secret values intact. The schema we infer from the result still records that the field is a string — it just won't carry the real token into an example.

      Parameters

      • value: unknown

      Returns unknown