[FEATURE] Beautify meta .json files
See original GitHub issue🚨🚨 Feature Request
- Related to an existing Issue
- A new implementation (Improvement, Extension)
Is your feature request related to a problem?
All of our json files(currently tensor_meta.json and dataset_meta.json) use json.dumps which means the json output is all on a single line. This can make it harder for a user to read them, especially when we start adding more keys and nested structures to these json files.
If your feature will improve HUB
We need to find a way to (without an external dependency if possible) beautify these json files.
Difficulty: Medium-easy
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Metadata.json
JSON Formatter and JSON Validator help to auto format JSON and validate your JSON text. It also provides a tree view that helps...
Read more >Beautify a json file using java - Stack Overflow
I have a JSON file that I downloaded and I don't know its nodes but I want to beautify it using java. I...
Read more >Setting up JSON metadata for an output file - 8.0
To modify an existing file connection, right-click it from the Repository tree view, and select Edit JSON to open the file metadata setup...
Read more >Loading, Converting, and Writing JSON Files - GitHub Pages
To save the metadata in the data frame, use the meta parameter, set equal to a list of paths for each metadata feature...
Read more >Code Beautify and Code Formatter For Developers - to ...
Free Online Tools like Code Beautifiers, Code Formatters, Editors, Viewers, Minifier, Validators, Converters for Developers: XML, JSON, CSS, JavaScript, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @SatYu26, thanks for the suggestions! Looking forward to a PR 😄
@SatYu26 sure, indent=4 and sort_keys=True should do the trick.