Type alias StringProcessing

StringProcessing: "parse" | "serialize" | "reject" | undefined

String value processing policy.

The input string may be parsed when BigInt expected by schema. The string processing policy controls this behavior.

The policy is one of:

  • 'parse' or undefined (the default) to parse the input string. If this fails, an error is reported. Note that strings containing BigInt values should not start with 0n prefix.
  • 'serialize' is the same as 'parse', but also serializes BigInt values as strings.
  • 'reject' to reject the input string.

Generated using TypeDoc