MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / load_json

Function load_json

experiments/baselines/citation_enhanced/runner.py:111–115  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

109
110
111def load_json(path: Path) -> Dict[str, Any]:
112 if not path.exists():
113 return {}
114 payload = json.loads(path.read_text(encoding="utf-8"))
115 return payload if isinstance(payload, dict) else {}
116
117
118def parse_string_list(raw_value: Any) -> List[str]:

Callers 2

load_rolesFunction · 0.70
load_user_metadataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected