MCPcopy
hub / github.com/nodejs/undici / json

Function json

lib/web/fetch/body.js:334–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332 },
333
334 json () {
335 // The json() method steps are to return the result of running
336 // consume body with this and parse JSON from bytes.
337 return consumeBody(this, parseJSONFromBytes, instance, getInternalState)
338 },
339
340 formData () {
341 // The formData() method steps are to return the result of running

Callers

nothing calls this directly

Calls 1

consumeBodyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…