Verifies that the keys and values only use the set of ASCII characters specificied in the config. By default it will be alpha-numeric, underscore, dash, and period. Sample config:
Check the key/value pair and return null if it is valid or a reason string if there is a validation failure. The null type for success is used to avoid allocations or other overhead since the validation checks tend to be a hot path.
Check the key/value pair and return null if it is valid or a reason string if there is a validation failure. The null type for success is used to avoid allocations or other overhead since the validation checks tend to be a hot path.