in site/src/shortcodes/filters/index.js [24:41]
create(object, spacer = 3) {
let cache = [];
const json = JSON.stringify(
object,
(key, value) => {
if (typeof value === "object" && value !== null) {
if (cache.includes(value)) {
return;
}
cache.push(value);
}
return value;
},
spacer
);
cache = null;
return json;
}