

@classmethod
def serialize(cls, data):
    return json.dumps(cls).encode('utf8')

dataset/ETHPy150Open openxc/openxc-python/openxc/formats/json.py JsonFormatter.serialize/VarMisuse@20/21 `data`->`cls`