

def json_to_string(self, sort=True, indent=1):
    'Convert the asset to JSON and return it as a string.'
    json_encoder.FLOAT_REPR = float_to_string
    return json_dumps(self.asset, sort_keys=sort, indent=indent)

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.json_to_string/original