MCPcopy Create free account
hub / github.com/6174/comflowyspace / #getJSONKey

Method #getJSONKey

apps/node/src/modules/config-manager.ts:46–54  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

44 }
45
46 #getJSONKey(key: string): any {
47 const raw = this.config.get(key);
48 try {
49 const data = JSON.parse(raw);
50 return data;
51 } catch (err) {
52 return {};
53 }
54 }
55}
56
57// 示例用法

Callers 2

getRunConfigMethod · 0.95
getSetupConfigMethod · 0.95

Calls 2

parseMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected