trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.
Typed dictionaries are the natural form that JSON data comes in over the wire.
They can be trivially serialized and deserialized without any additional logic.
For applications that use a lot of JSON …