[Feature request] Json converter
Context
We currently have a tool that converts between JSON and YAML. I propose extending this tool to support additional formats such as CSV and XML.
Proposed Change
Certainly! Here's how you can format the extension of format support in your feature request for the JSON converter:
Extend Format Support
Allow the current JSON-YAML converter to also handle conversions between JSON and other popular data formats, improving the tool's utility across different use cases:
-
[ ] to/from
CSV - Comma-Separated ValuesExample download file -
[ ] to/from
XML - eXtensible Markup LanguageExample online file -
[ ] to/from
TOML - Tom's Obvious, Minimal LanguageExample online
Questions for Discussion
- How should we handle data inconsistencies or conversion errors, especially for complex formats like XML?
- Maybe integrate the converter with the code snippet storage feature to enable direct conversion and/ or storage of code snippets & conversions. #107
- Dependencies or libraries to consider: ...
- Similar features in other projects for reference: ...
Potential Challenges
- Ensuring robustness and accuracy of conversions across multiple formats.(Correct error handling etc)
- Integrating this feature without complicating the UI/UX of existing tools. (Perhaps a bit like our current JSON Tools module)
Sounds about doable, but yaml and toml both can get complicated quickly. Feel free to experiment. I am fine even if it works with simple structures.
I will be happy to have JSON Array to Table, CSV feature.