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

Function jsonStringWithMap

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:698–701  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

696var jsonString = JSON.stringify;
697var jsonParse = JSON.parse;
698var jsonStringWithMap = (obj) => jsonString(
699 obj,
700 (_key, value) => isInstanceOf(value, Map) ? object.fromEntries([...value]) : value
701);
702var textEncoder = /* @__PURE__ */ new GLOBAL.TextEncoder();
703var getHash = (string) => {
704 let hash = 2166136261;

Callers 7

getValueHashFunction · 0.70
getTablesJsonFunction · 0.70
getValuesJsonFunction · 0.70
getJsonFunction · 0.70
getTablesSchemaJsonFunction · 0.70
getValuesSchemaJsonFunction · 0.70
getSchemaJsonFunction · 0.70

Calls 1

isInstanceOfFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…