An io-ts codec that accepts JSON-compatible objects as input.
The JSON source to parse.
The parsed type instance, or undefined if the input is invalid.
Utility function that fails to compile unless the expression is impossible.
It's useful for ensuring that a switch
statement handles all cases.
The expression that should never happen.
Generated using TypeDoc
Parse a strongly typed object from its JSON serialization.