MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / toJSON

Method toJSON

packages/vscode-shim/src/classes/Uri.ts:115–123  ·  view source on GitHub ↗

* Convert to JSON representation

()

Source from the content-addressed store, hash-verified

113 * Convert to JSON representation
114 */
115 toJSON(): object {
116 return {
117 scheme: this.scheme,
118 authority: this.authority,
119 path: this.path,
120 query: this.query,
121 fragment: this.fragment,
122 }
123 }
124}

Callers 1

Uri.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected