As per ultrajson/ultrajson#124
If you have a package that requires ujson, it is automatically picked up by the compat.py and used in JSONFormatter thereafter. Unfortunately, ujson is not fully compatible with the built-in json.dump and it does not understand the cls parameter.
As per ultrajson/ultrajson#124
If you have a package that requires
ujson, it is automatically picked up by thecompat.pyand used inJSONFormatterthereafter. Unfortunately,ujsonis not fully compatible with the built-injson.dumpand it does not understand theclsparameter.