def request_to_json(headers, body):
    headers['Content-Type'] = 'application/json'
    body = json.dumps(body)
    return headers, body
Run a scheduled event, executing commands in the data string.
dataset/ETHPy150Open RafeKettler/bind/bind/callbacks.py/request_to_json--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.runevent