Skip to content

JsonValueRules

Namespace: E2E.Internal

public sealed record JsonValueRules : IEquatable<JsonValueRules>

Upstream’s JsonValueRules (internal/json-value.ts): what the JSON-safety walk refuses beyond the defaults.

Inheritance: object

Implements: IEquatable<JsonValueRules>

View source

public int? MaxDepth { get; init; }

Maximum object or array nesting depth; unlimited when unset.

Value: int?

public Action<string>? OnSecret { get; init; }

Raised on a Secret value, with the label of the value. The default throws POLICY_DENIED.

Value: Action<string>