I'm adding storage to my python Kivy application.
My data involves many enums and nested dictionaries/sets so out-of-the-box, JsonStorage fails with errors like "TypeError: Object of type set is not JSON serializable". I think DictStore can handle these types, but I would prefer to use JsonStore over DictStore because I like that .json is human readable allowing me to edit storage values directly during development.
IIUC python makes its built-in JSON en/decoder extendible. So I'm wondering if there's a way I could edit/extend the JsonStore class to refer to a different encoder which I could write to correctly (de)serialize these complex data types that are causing the failure.