Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getRunConfig
Method · 0.95
getSetupConfig
Method · 0.95
Calls
2
parse
Method · 0.65
get
Method · 0.45
Tested by
no test coverage detected