Commit 7ad3474
authored
feat: add deterministic JSON formatter (#240)
* feat: add deterministic JSON formatter
* fix: harden sorted JSON edge cases
Reject malformed nodes and unsupported surrogate escapes instead of silently corrupting output.
* fix: preserve mappings on sort errors
Expand edge-case and fuzz coverage for deterministic formatting.1 parent 5425f69 commit 7ad3474
6 files changed
Lines changed: 1930 additions & 0 deletions
File tree
- sortfmt
- testdata
0 commit comments