Fix SetContainerList dictionary parsing

This commit is contained in:
Eric NGUYEN 2022-09-14 11:50:28 +02:00
parent e32e98cddd
commit 8653be0172
2 changed files with 12 additions and 2 deletions

View file

@ -61,3 +61,13 @@ export function GetCircularReplacer(): (key: any, value: object | Map<string, an
return value;
};
}
export function GetCircularReplacerKeepDataStructure(): (key: any, value: object | Map<string, any> | null) => object | null | undefined {
return (key: any, value: object | null) => {
if (key === 'parent') {
return;
}
return value;
};
}