issues
search
sprockets
/
sprockets.mixins.mediatype
Handles Content-Type & Accept header serialization and deserialization for you
https://sprocketsmixinsmedia-type.readthedocs.io
BSD 3-Clause "New" or "Revised" License
0
stars
3
forks
source link
Support serialization of more types
#34
Open
dave-shawley
opened
3 years ago
dave-shawley
commented
3 years ago
add
serialization
support for
decimal.Decimal
and figure out how to best represent it for interop in the case of JSON
add
serialization
support for dataclasses_ by guarding with
dataclasses.is_dataclass
and calling
dataclasses.asdict
add
serialization
support for stuff from the
ipaddress
module
maybe
add
duck-typed
serialization
support for
pydantic models
-- detect the
dict
method and call it?
others?
dict
method and call it?