MCPcopy Index your code
hub / github.com/callstack/agent-device / printJson

Function printJson

src/utils/output.ts:30–32  ·  view source on GitHub ↗
(result: JsonResult)

Source from the content-addressed store, hash-verified

28 };
29
30export function printJson(result: JsonResult): void {
31 process.stdout.write(`${JSON.stringify(result, null, 2)}\n`);
32}
33
34export function printHumanError(
35 err: AppError | NormalizedError,

Callers 5

runCliFunction · 0.90
writeCommandOutputFunction · 0.90
printWebSetupResultFunction · 0.90
printWebResultFunction · 0.90
renderReplayTestResponseFunction · 0.90

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected