Exchange Extract Load Function

This commit is contained in:
Yam ZhengLim
2022-08-22 18:54:54 +08:00
parent 7c34c88d0b
commit 39e707ce46
13 changed files with 166 additions and 116 deletions
+12
View File
@@ -0,0 +1,12 @@
import json
from operator import concat
def read_json_file(path, name):
try:
with open(concat(path,name)) as json_file:
output = json.load(json_file)
return output
except Exception as e:
print(e)
print("[FUNCTION_ERROR]-read_json_file:" , name)
return False