MCPcopy Create free account
hub / github.com/denodrivers/postgres / decodeJsonArray

Function decodeJsonArray

query/decoders.ts:238–240  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

236}
237
238export function decodeJsonArray(value: string): unknown[] {
239 return parseArray(value, JSON.parse);
240}
241
242export function decodeLine(value: string): Line {
243 const equationConsts = value.substring(1, value.length - 1).split(",") as [

Callers 1

decodeTextFunction · 0.90

Calls 1

parseArrayFunction · 0.90

Tested by

no test coverage detected