MCPcopy Create free account
hub / github.com/EsperoTech/yaade / jpath

Function jpath

client/src/utils/script.tsx:15–19  ·  view source on GitHub ↗
(expr: string, value: string)

Source from the content-addressed store, hash-verified

13const rand = new Random(MersenneTwister19937.autoSeed());
14
15const jpath = function (expr: string, value: string) {
16 let json = value;
17 if (typeof value === 'string') json = JSON.parse(value);
18 return jp.value(json, expr);
19};
20
21async function executeResponseScript(
22 request: RestRequest,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected