Add support for serializing objects that implement collection-like interfaces, expanding beyond native list and dict to include:
collections.abc.Mapping
collections.abc.Sequence
This enhancement would enable more flexible serialization for complex data structures that mimic standard Python collections but are implemented differently, like (for example) SQLAlchemy's _AssociationList and _AssociationDict.
Add support for serializing objects that implement collection-like interfaces, expanding beyond native
list
anddict
to include:collections.abc.Mapping
collections.abc.Sequence
This enhancement would enable more flexible serialization for complex data structures that mimic standard Python collections but are implemented differently, like (for example) SQLAlchemy's
_AssociationList
and_AssociationDict
.