On 2020-07-06, J. Pic <jpic at yourlabs.org> wrote:
> Well I made a suggestion on python-ideas and a PyPi lib came out of it, but
> since you can't patch a lot of internal types it's not so useful.
> Feel free to try it out:
While I applaud your experimentation, that is not suitable for any purpose.
You would probably do better by starting off subclassing json.JSONEncoder.