MCPcopy
hub / github.com/ajv-validator/ajv / stringify

Function stringify

lib/compile/codegen/code.ts:145–147  ·  view source on GitHub ↗
(x: unknown)

Source from the content-addressed store, hash-verified

143}
144
145export function stringify(x: unknown): Code {
146 return new _Code(safeStringify(x))
147}
148
149export function safeStringify(x: unknown): string {
150 return JSON.stringify(x)

Callers 5

inlineRefSchemaFunction · 0.90
inlineRefSchemaFunction · 0.90
compileSchemaFunction · 0.90
assignDefaultFunction · 0.90
useKeywordFunction · 0.90

Calls 1

safeStringifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…