Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/triggerdotdev/trigger.dev
/ safeJsonParse
Function
safeJsonParse
packages/integration-kit/src/json.ts:1–7 ·
view source on GitHub ↗
(json: string)
Source
from the content-addressed store, hash-verified
1
export
function
safeJsonParse(json: string): unknown {
2
try {
3
return
JSON.parse(json);
4
} catch (e) {
5
return
null;
6
}
7
}
Callers
2
safeParseBody
Function · 0.90
parseBody
Function · 0.90
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…