MCPcopy Index your code
hub / github.com/tinyplex/tinybase / jsonStringWithUndefined

Function jsonStringWithUndefined

src/common/json.ts:14–15  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

12 );
13
14export const jsonStringWithUndefined = (obj: unknown): string =>
15 jsonString(obj, (_key, value) => (isUndefined(value) ? UNDEFINED : value));
16
17export const jsonParseWithUndefined = (str: string): any =>
18 // JSON.parse reviver removes properties with undefined values

Callers 10

setPersistedFunction · 0.90
constructKeyFunction · 0.90
setPersistedFunction · 0.90
constructFunction · 0.90
setPersistedFunction · 0.90
getRowKeyFunction · 0.90
setPersistedFunction · 0.90
createPayloadFunction · 0.90
createPayloadsFunction · 0.90

Calls 1

isUndefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…