Function: safeStringifyJson()
safeStringifyJson(
data,skippedNames?,maxFingerprints?):string
The JSON of data with the values of sensitive fields (and of skippedNames) replaced: a string by its fingerprint (see
hashSensitiveValue), anything else by a placeholder. At most maxFingerprints (by default 16) values are fingerprinted, the other
sensitive strings are written as REDACTED_VALUE: a caller that uses the result as an identity key passes
Number.POSITIVE_INFINITY, so data that differ in any sensitive value give different keys.
Parameters
data
any
skippedNames?
Set<string>
maxFingerprints?
number
Returns
string