MCPcopy Create free account
hub / github.com/DVampire/FinAgent / load_json

Function load_json

finagent/utils/json_utils.py:7–10  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

5from bs4 import BeautifulSoup
6
7def load_json(file_path):
8 with open(file_path, mode='r', encoding='utf8') as fp:
9 json_dict = json5.load(fp)
10 return json_dict
11
12def save_json(json_dict, file_path, indent=4):
13 with open(file_path, mode='w', encoding='utf8') as fp:

Callers 12

runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by 1

runMethod · 0.72