Module parsing

Source
Expand description

JSON / string parsing helpers for Python inputs.

Functions§

get_optional
Helper function to get an optional value from a Python dictionary.
get_optional_parsed
Helper function to get an optional value, parse it with a closure, and handle parse errors.
get_required
Helper function to get a required value from a Python dictionary and extract it.
get_required_list
Helper function to get a required PyList from a Python dictionary.
get_required_parsed
Helper function to get a required value, parse it with a closure, and handle parse errors.
get_required_string
Helper function to get a required string value from a Python dictionary.