MCPcopy Create free account
hub / github.com/thinkjs/thinkjs / json

Function json

lib/extend/controller.js:125–127  ·  view source on GitHub ↗

* send json data

(data)

Source from the content-addressed store, hash-verified

123 * send json data
124 */
125 json(data) {
126 return this.ctx.json(data);
127 },
128 /**
129 * send success data
130 */

Callers

nothing calls this directly

Calls 1

jsonMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…