Skip to content

Feature request: support 2-space json indent #188

@macklinu

Description

@macklinu

err = json.Indent(output, []byte(*input), "", FourSpaces)

I'm working with some deeply nested JSON and the extra couple spaces would make it a little easier to see more data in both panes. Perhaps it could be part of the config YAML file, like indentSize: 2 or something that like.

Open to helping out if you're open to feature idea. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions