mashumaro
mashumaro copied to clipboard
Fast and well tested serialization library
**Is your feature request related to a problem? Please describe.** I'm interested in supporting Flatbuffers via a Mixin. I already have a DataClass based encoder/decoder which uses `getattr(...)` to call...
JSON allows an array at top level (instead of an object). It would be nice if we have eg a List[MyDataClass] to be able to serialize this directly without a...
If a class based on DataClassDictMixin has a field with type str it will construct instances from data that contains data of other types for that field, including numbers, lists,...
Currently when an exception happens in a nested dataclass object, the caller will only get context about the most high level parent dataclass which triggered the exception. This makes it...
Hi, This does two things: * Mostly implements #136 (see below) * Adds a new config option `forbid_extra_keys`, that, well, checks for extra keys during deserialization and fails with a...
**Is your feature request related to a problem? Please describe.** Sometimes you need to add multiple aliases for one field (e.g. one endpoint in poorly-designed api returns id with name...
**Is your feature request related to a problem? Please describe.** First, this has been discussed in #83 and dismissed. But I'd like to raise the question and propose a solution...
**Is your feature request related to a problem? Please describe.** There is a standard type `Pattern` https://docs.python.org/3/library/typing.html#typing.Pattern. Support for annotations `re.Pattern` and `typing.Pattern` could be useful. **Describe the solution you'd...
* mashumaro version: 3.13 * Python version: 3.12 * Operating System: Debian ### Description Since the 3.13 release a warning is being logged (on all user setups as well!) about...
* mashumaro version: 3.12 * Python version: 3.12.2 * Operating System: alpine 3.19 docker ### Description In the past, I've used the below JSON type definitions, which have worked well...