json2typescript
json2typescript copied to clipboard
Limit serialization depth to prevent issues with circular dependencies
In some cases, you might have objects that rely on each other. The serialization process can cause issues and json2typescript might cause a page freeze due to infinite calculations.
We could prevent this by adding a setting or parameter for the max. depth of serialization.