A pip module that lets you define a __json__ method, that works like toJSON from JavaScript. (e.g. it magically gets called whenever someone does json.dumps(your_object)) From a technical perspective, ...
I have "TypeError: Cannot read properties of undefined (reading 'toJSON')" error when open collection - Data tab. There is on all collections, created by my python ...