MCPcopy
hub / github.com/lingodotdev/lingo.dev / _tryParseJSON

Function _tryParseJSON

packages/cli/src/cli/utils/cache.ts:98–104  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

96}
97
98function _tryParseJSON(line: string) {
99 try {
100 return JSON.parse(line);
101 } catch (e) {
102 return null;
103 }
104}

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected