MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / read_json

Function read_json

botasaurus/utils.py:40–43  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

38
39
40def read_json(path):
41 with open(path, 'r', encoding="utf-8") as fp:
42 data = json.load(fp)
43 return data
44
45def read_file(path):
46 with open(path, 'r', encoding="utf-8") as fp:

Callers 4

_getFunction · 0.70
safe_getFunction · 0.70
safe_corrupted_getFunction · 0.70
_getFunction · 0.50

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected