provider
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| MsgSpecProvider configz.json_tools.msgspec_provider.provider MsgSpec implementation of the JSON provider interface. |
🛈 DocStrings¶
MsgSpec provider implementation.
MsgSpecProvider
¶
Bases: JsonProviderBase
MsgSpec implementation of the JSON provider interface.
Source code in src/configz/json_tools/msgspec_provider/provider.py
dump_json
staticmethod
¶
dump_json(
data: Any,
indent: bool = False,
naive_utc: bool = False,
serialize_numpy: bool = False,
sort_keys: bool = False,
) -> str
Dump data to JSON string using msgspec.
Source code in src/configz/json_tools/msgspec_provider/provider.py
load_json
staticmethod
¶
Load JSON using msgspec.