MCPcopy Create free account
hub / github.com/Noumena-Network/code / parseJsonObject

Function parseJsonObject

src/services/oauth/oauthTestHarness.ts:702–704  ·  view source on GitHub ↗
(body: string)

Source from the content-addressed store, hash-verified

700}
701
702function parseJsonObject(body: string): Record<string, string> {
703 return JSON.parse(body || '{}') as Record<string, string>
704}
705
706function respondJson(
707 res: ServerResponse,

Callers 2

createMockOauthServerFunction · 0.85
parseTokenBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected