Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pretty-format JSON #301

Open
david-koleckar opened this issue Apr 26, 2024 · 0 comments
Open

Pretty-format JSON #301

david-koleckar opened this issue Apr 26, 2024 · 0 comments

Comments

@david-koleckar
Copy link

Is your feature request related to a problem? Please describe.
Add default to pretty-format JSON output.

json output:

{"person": {"name": "Pavel", "surname":  "Marek"}}

change to:

{
  "person": {
    "name": "Pavel",
    "surname": "Marek"
  }
}

Describe the solution you'd like
I guess pattern match with formatted replacement would be sufficient.

Additional context
Would come quite handy, not sure if the JSON length in general would be a problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant