MaskingStrategy

Defines how Ihawu transforms a restricted field before it reaches the serialization output.

Each strategy represents a different level of data protection applied at the serialization boundary. Strategies are ranked internally so policies can compare and escalate them — when two rules mask the same field, the stricter strategy wins (e.g. HIDE outranks REDACT).

Entries

Link copied to clipboard

Removes the field entirely from the serialized output.

Link copied to clipboard

Replaces the field value with an obfuscated placeholder.

Properties

Link copied to clipboard

The fallback string placeholder for REDACT when a FieldPolicy gives none. Non-String fields never use this — their masked form is JSON null, decided by MaskingCapability.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.