MCPcopy Create free account
hub / github.com/fastify/fastify / customSerializer

Function customSerializer

test/http-methods/get.test.js:167–169  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

165 t.plan(1)
166
167 function customSerializer (data) {
168 return JSON.stringify(data)
169 }
170
171 try {
172 fastify.get('/custom-serializer', numberSchema, function (req, reply) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected