MCPcopy Create free account
hub / github.com/subquery/subql / processSetJson

Function processSetJson

packages/node-core/src/utils/graphql.ts:179–188  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

177}
178
179function processSetJson(data: any): any {
180 return JSON.parse(
181 JSON.stringify(data, (key, value) => {
182 if (typeof value === 'bigint') {
183 return `${value}n`;
184 }
185 return value;
186 })
187 );
188}

Callers 1

getColumnOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected