MCPcopy Create free account
hub / github.com/dipscope/TypeManager.TS / jsonParse

Function jsonParse

src/functions/json-parse.ts:9–15  ·  view source on GitHub ↗
(
    x: string,
    reviver?: (this: any, key: string, value: any) => any
)

Source from the content-addressed store, hash-verified

7 * @returns {any} Consistent JSON parse result.
8 */
9export function jsonParse(
10 x: string,
11 reviver?: (this: any, key: string, value: any) => any
12): any
13{
14 return JSON.parse(x, reviver);
15}

Callers 1

parseMethod · 0.90

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected