def json_serial()

in src/handlerLambda/callForwardHandler.py [0:0]


def json_serial(data):
    if isinstance(data, (datetime, date)):
        return data.isoformat()
    raise TypeError("Type %s not serializable" % type(data))