[Bug]TypeError: Object of type Spec is not JSON serializable
oleeks opened this issue · comments
fragrans commented
Jacob Chen commented
Hi @guifa2015, this issue is due to the new release of ujson
. Please try to use ujson==1.3.5
instead. I will close this issue first and if you need more help, please reopen and let me know your issue. 😄
Michael Fekadu commented
I tried pip install ujson==1.35
and the bug was fixed.
I wonder why 3.0.0
is buggy in that way?
Jacob Chen commented
The new release of ujson
changes its behavior so the JSON serialization not working as before. This serialization already fixed in #157 but we haven't released this fixed version to PyPI yet.