• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 23964175442
67%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 10:18PM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Apr 2026 10:13PM UTC coverage: 35.804% (-22.7%) from 58.476%
23964175442

push

github

web-flow
chore(json_edit): Add lossless JSON/JSON5 editor (#504)

Introduces a new contrib crate, `json_edit`, which parses JSON and JSON5
into a lossless syntax tree (powered by `rowan`) and exposes high-level
editing operations that leave untouched content intact: comments,
whitespace, key ordering, and quote styles are all preserved for
anything that wasn't explicitly changed.

The crate provides a `Document` type for parsing, an `Object` type for
reading and mutating key-value pairs via `get`, `set`, and `remove`, and
a top-level `deep_merge` function for recursively merging a
`serde_json::Value` into an existing document without reformatting it.

Both strict JSON and the JSON5 superset (unquoted keys, single-quoted
strings, line/block comments, trailing commas) are supported via a
`Dialect` enum.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

227 of 634 new or added lines in 6 files covered. (35.8%)

227 of 634 relevant lines covered (35.8%)

1.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
204
27.66
crates/contrib/json_edit/src/ast.rs
122
29.89
crates/contrib/json_edit/src/lexer.rs
54
60.29
crates/contrib/json_edit/src/parser.rs
15
0.0
crates/contrib/json_edit/src/merge.rs
8
0.0
crates/contrib/json_edit/src/error.rs
4
78.95
crates/contrib/json_edit/src/syntax.rs
Jobs
ID Job ID Ran Files Coverage
1 23964175442.1 03 Apr 2026 10:18PM UTC 6
35.8
GitHub Action Run
Source Files on build 23964175442
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23964175442
  • 542dfa02 on github
  • Prev Build on main (#22517258659)
  • Next Build on main (#23964453842)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc