Page MenuHome

json_encoder.py
No OneTemporary

File Metadata

Created
Sun, Feb 23, 10:38 PM

json_encoder.py

import json
from . import timing
class JSONEncoder(json.JSONEncoder):
def default(self, o):
if isinstance(o, timing.Timing):
return o.to_json_compat()
return super().default(o)

Event Timeline