mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
10 lines
210 B
Python
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) |