Main API

Codec.withParser

Codec.withParser is a shorthand for creating a new ft.ParsedValue. ParsedValue allows you to apply conversion functions to a value when parsing or serializing, in addition to validation.

For full documentation, see ParsedValue.

Previous
Codec.withConstraint & Codec.withGuard