![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | OrjsonConverter |
Functions | |
| configure_converter (BaseConverter converter) | |
| OrjsonConverter | make_converter (*Any args, **Any kwargs) |
Variables | |
| T = TypeVar("T") | |
Preconfigured converters for orjson.
| cattrs.preconf.orjson.configure_converter | ( | BaseConverter | converter | ) |
Configure the converter for use with the orjson library.
* bytes are serialized as base85 strings
* datetimes and dates are passed through to be serialized as RFC 3339 by orjson
* typed namedtuples are serialized as lists
* sets are serialized as lists
* string enum mapping keys have special handling
* mapping keys are coerced into strings when unstructuring
.. versionchanged: 24.1.0
Add support for typed namedtuples.