question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dhiganthraocommented, Oct 2, 2021

Hey @SatYu26, thanks for the suggestions! Looking forward to a PR 😄

1reaction
nolliedcommented, Sep 30, 2021

@SatYu26 sure, indent=4 and sort_keys=True should do the trick.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found