MCPcopy Create free account
hub / github.com/debjitpaul/refiner / read_json

Function read_json

data_preprocessing/utils.py:49–51  ·  view source on GitHub ↗
(filepath)

Source from the content-addressed store, hash-verified

47}
48
49def read_json(filepath):
50 with open(filepath) as f:
51 return json.load(f)
52
53def write_json(obj, filepath, indent=2):
54 with open(filepath, "w") as f:

Callers 2

mainFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected