File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ Encoders and Decoders
486486 +----------------------------------------+---------------+
487487 | Python | JSON |
488488 +========================================+===============+
489- | dict | object |
489+ | dict, frozendict | object |
490490 +----------------------------------------+---------------+
491491 | list, tuple | array |
492492 +----------------------------------------+---------------+
@@ -504,6 +504,9 @@ Encoders and Decoders
504504 .. versionchanged :: 3.4
505505 Added support for int- and float-derived Enum classes.
506506
507+ .. versionchanged :: 3.15
508+ Added support for :class: `frozendict `.
509+
507510 To extend this to recognize other objects, subclass and implement a
508511 :meth: `~JSONEncoder.default ` method with another method that returns a serializable object
509512 for ``o `` if possible, otherwise it should call the superclass implementation
You can’t perform that action at this time.
0 commit comments