pub fn check_json(value: &Value) -> RuntimeResult<()>Expand description
Recursively scan a JSON value for credential-shaped strings.
Walks every string leaf (object values, array elements, nested objects).
Returns Err(RuntimeError::SecretDetected) on the first match found.
None / null / numeric / boolean JSON values are skipped.