josdejong / josdejong/jsoneditor

Provide auto-format capability

Open
#1,201 1 comment 1 reaction 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Would be nice if after typing, if JSON is valid, that format and repair ran automatically.

Alternatively, add `format()`, `compact()`, and `repair()` to the documentation and the `@types` so we can control it ourselves. I think that would be better.

This would also satisfy #1153

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.