MCPcopy Index your code
hub / github.com/BuilderIO/builder / stringify

Method stringify

packages/core/src/classes/query-string.class.ts:32–44  ·  view source on GitHub ↗
(map: StringMap)

Source from the content-addressed store, hash-verified

30 }
31
32 static stringify(map: StringMap) {
33 let str = '';
34 for (const key in map) {
35 if (map.hasOwnProperty(key)) {
36 const value = map[key];
37 if (str) {
38 str += '&';
39 }
40 str += encodeURIComponent(key) + '=' + encodeURIComponent(value);
41 }
42 }
43 return str;
44 }
45
46 static deepen(map: StringMap) {
47 // FIXME; Should be type Tree = Record<string, string | Tree>

Callers 15

stringifyDeepMethod · 0.95
createAdminApiClientFunction · 0.80
rollup.config.tsFile · 0.80
VariantsProviderFunction · 0.80
handleRequestMethod · 0.80
getPersonalizationScriptFunction · 0.80
renderMethod · 0.80
fastCloneFunction · 0.80
rollup.config.tsFile · 0.80
applyTranslationFunction · 0.80

Calls

no outgoing calls

Tested by 1

initializeUserAttributesFunction · 0.64