Skip to content
Snippets Groups Projects
Commit 58168498 authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove FrozenEncoder

parent 8133cdcc
No related branches found
No related tags found
No related merge requests found
......@@ -46,11 +46,3 @@ def unfreeze(o):
pass
return o
class FrozenEncoder(json.JSONEncoder):
def default(self, o):
if isinstance(o, frozendict):
return dict(o)
return json.JSONEncoder(self, o)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment