def outputToJsonFile()

in tooling/query-metrics-alerts/parse_analysis.py [0:0]


def outputToJsonFile(data, filename):
  # Write the results to a file
  with open(filename, "w+") as f:
      json.dump(data, f, indent=2)