How to make json.dumps in Python ignore a non-serializable field
Keys with a leading _ underscore are not really ‘hidden’, they are just more strings to JSON. The Construct Container class is just a dictionary with ordering, the _io key is not anything special to that class. You have two options: implement a default hook that just returns a replacement value. Filter out the key-value … Read more