Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ fromObject
Method
fromObject
npm_modules/cli/src/utils/jsonUtils.ts:16–19 ·
view source on GitHub ↗
(object: T)
Source
from the content-addressed store, hash-verified
14
}
15
16
static fromObject<T>(object: T): JSONCFile<T> {
17
const
content = JSON.stringify(object, null, 2);
18
return
JSONCFile.parse<T>(content);
19
}
20
21
toJSONString(): string {
22
return
this.content;
Callers
2
processTsConfigDir
Function · 0.80
processLaunchJSONFile
Function · 0.80
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected