-
Notifications
You must be signed in to change notification settings - Fork 1
Open
0 / 30 of 3 issues completedLabels
in-progressWork in progressWork in progress
Description
Description:
Currently, the CLI converts only flat JSON structures into Markdown tables. However, when the JSON contains nested objects or arrays, the output becomes inconsistent. We need to brainstorm and decide how to represent nested structures effectively in Markdown.
Possible Approaches:
- Flattening: Convert nested keys into dot notation (e.g., user.name, user.address.street).
- Multi-line cells: Display nested objects as multi-line content within a single cell.
- Separate tables: Create sub-tables for each nested object.
- Custom formatting: Provide a user-defined template for complex structures.
Open Questions:
- Should we handle arrays differently from objects?
- How do we maintain readability while keeping the table concise?
- Do we need additional CLI flags to toggle the handling mode?
Next Steps:
- Discuss preferred approaches.
- Choose a solution based on feasibility and usability.
- Implement and test.
Sub-issues
Metadata
Metadata
Assignees
Labels
in-progressWork in progressWork in progress