A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
BSD 3-Clause "New" or "Revised" License
2.01k
stars
59
forks
source link
Let json.schema take an enc_hook for handling default values of custom types #679
Open
sennalen opened 1 month ago
Description
json.schema can take a schema_hook to encode custom types in the schema, but the fields can only support values of built-in types as defaults.