

def jsonate(obj, escaped):
    jsonbody = json.dumps(obj)
    if escaped:
        jsonbody = jsonbody.replace('</', '<\\/')
    return jsonbody

dataset/ETHPy150Open richo/groundstation/airship/__init__.py jsonate/original