Skip to content

Pretty-format JSON #301

@david-koleckar

Description

@david-koleckar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions