-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestnested-jsonRelated to nested jsonRelated to nested json
Description
Plan:
- Use a WeakSet to track processed objects during recursion.
- If an object appears again, replace it with a [Circular] placeholder.
Steps:
- Modify flattenJson to:
- Add objects to the WeakSet before recursion.
- Skip or replace the object if it already exists in the set.
- Update the jsonToMarkdown.js file.
Challenges:
- Ensuring proper detection for objects vs. arrays.
- Avoiding performance overhead from additional checks.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnested-jsonRelated to nested jsonRelated to nested json