MCPcopy Index your code
hub / github.com/fastify/fast-json-stringify / toJSON

Function toJSON

index.js:546–551  ·  view source on GitHub ↗
(variableName)

Source from the content-addressed store, hash-verified

544}
545
546function toJSON (variableName) {
547 return `(${variableName} && typeof ${variableName}.toJSON === 'function')
548 ? ${variableName}.toJSON()
549 : ${variableName}
550 `
551}
552
553function buildObject (context, location, input) {
554 const schema = location.schema

Callers 1

buildObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…