8000 Releases · jeff-hykin/json_fix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: jeff-hykin/json_fix

0.5.1 Fix for json.dumps of builtin object

17 Nov 21:00
Compare
Choose a tag to compare

0.5.0 Handle inheriting from builtins

13 Sep 15:57
Compare
Choose a tag to compare

There is an issue with the previous version, which wouldn't correctly handle the following case:

class CustomClass(dict):
    def __json__(self):
        return "testing"

See this established post for more info about the problem:
https://stackoverflow.com/questions/16405969/how-to-change-json-encoding-behaviour-for-serializable-python-object/16406798#16406798

The 0.5.0 release fixes this, and should maintain backwards compatibility

0.2.0

16 Jun 17:02
Compare
Choose a tag to compare

Changelog

  • use OrderedDict to allow package to work on python < 3.8
0