MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / decodeJsonColumn

Function decodeJsonColumn

packages/core/sdk/src/executor.ts:749–753  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

747const decodeJsonFromString = Schema.decodeUnknownOption(Schema.UnknownFromJsonString);
748
749const decodeJsonColumn = (value: unknown): unknown => {
750 if (value === null || value === undefined) return undefined;
751 if (typeof value !== "string") return value;
752 return decodeJsonFromString(value).pipe(Option.getOrElse(() => value));
753};
754
755const rowToIntegration = (
756 row: IntegrationRow,

Callers 11

rowToIntegrationRecordFunction · 0.85
connectionItemIdsFunction · 0.85
rowToToolFunction · 0.85
markRefreshGrantDeadFunction · 0.85
produceConnectionToolsFunction · 0.85
toolSchemaFunction · 0.85
policiesResolveFunction · 0.85
executeFunction · 0.85
invokeWithFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected