Fix SetContainerList dictionary parsing
This commit is contained in:
parent
e32e98cddd
commit
8653be0172
2 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue