Backendopenhandsopenhands.coreopenhands.core.utilsjsonOn this pageopenhands.core.utils.jsonmy_default_encoder def my_default_encoder(obj) Custom JSON encoder that handles datetime and event objects dumps def dumps(obj, **kwargs) Serialize an object to str format loads def loads(json_str, **kwargs) Create a JSON object from str