python-logging-rabbitmq icon indicating copy to clipboard operation
python-logging-rabbitmq copied to clipboard

`ujson` does not support `.dumps(cls=SomeEncoder)` `cls` parameter

Open EivV opened this issue 5 years ago • 1 comments

As per https://github.com/esnme/ultrajson/issues/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.

EivV avatar Nov 25 '19 15:11 EivV

Hello.

After being off for a good amount of days, I'm planning to start doing clean up of issues.

Meanwhile, if you have some working code, please, add an MR, and I will be happy to review it.

Thanks.

albertomr86 avatar Jan 28 '20 02:01 albertomr86