MCPcopy
hub / github.com/angular/angular / json

Method json

packages/service-worker/worker/testing/fetch.ts:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 async json(): Promise<any> {
32 return JSON.parse(this.getBody()) as any;
33 }
34
35 async text(): Promise<string> {
36 return this.getBody();

Callers 12

getLatestHashFromDbFunction · 0.80
onPushMethod · 0.80
fetchLatestManifestMethod · 0.80
readMethod · 0.80
fetch.spec.tsFile · 0.80
server.tsFile · 0.80
server.tsFile · 0.80
server.tsFile · 0.80
fetchTutorialMetadataMethod · 0.80

Calls 2

getBodyMethod · 0.95
parseMethod · 0.65

Tested by

no test coverage detected