Files
splunk-security_content/bin/contentctl_project/contentctl_infrastructure/adapter/json_writer.py
T
2022-03-31 08:51:05 +02:00

10 lines
210 B
Python

import json
class JsonWriter():
@staticmethod
def writeJsonObject(file_path : str, obj) -> None:
with open(file_path, 'w') as outfile:
json.dump(obj, outfile, ensure_ascii=False)