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

nlohmann / json / 40165032260
95%

Build:
DEFAULT BRANCH: develop
Ran 25 Oct 2026 05:51AM UTC
Jobs 1
Files 61
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

25 Oct 2026 05:18AM UTC coverage: 95.103% (-0.09%) from 95.194%
40165032260

push

github

web-flow
docs: cross-reference json_view and json_document for 3.13.0 (#5892)

* docs: cross-reference json_view and json_document for 3.13.0

Document the new zero-copy document/view API across the docs: add a
"Documents and views" section to the basic_json API hub linking to all
specializations, point parsing/conversion/modifying pages to the view-based
alternatives, add document/view sections to feature pages, update the
landing page to mention json_view.hpp/json_literals.hpp, and cross-link
debugging/exceptions.

Also document wide-string inputs (and ill-formed UTF-16/32 rejection),
add parse/accept examples for wide strings, fix related doc gaps, and
align features/parsing and FAQ with the added support.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* docs: fix article before std::istream in FAQ

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* docs: clarify document inputs, decoding, get<T>() and editing

Address review comments: say which inputs are borrowed and that a wide
string pointer is an extra input, which values are decoded during parsing,
that get<T>() reads only built-in types directly, all forms of set() and
that the document's insert() is array-only, and how to store wide strings.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* docs: integers are converted while parsing a document

Also say "They accept every input" in basic_json_document::parse.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

18891 of 55146 branches covered (34.26%)

14314 of 15051 relevant lines covered (95.1%)

5450999.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
72
96.66
0.36% include/nlohmann/json.hpp
70
96.17
-0.22% include/nlohmann/detail/output/binary_writer.hpp
38
87.95
-1.16% include/nlohmann/detail/output/serializer.hpp
16
97.53
-0.25% include/nlohmann/detail/json_pointer.hpp
15
98.95
0.06% include/nlohmann/detail/input/binary_reader.hpp
7
98.99
-0.01% include/nlohmann/detail/input/json_sax.hpp
6
73.91
3.91% include/nlohmann/detail/view/errors.hpp
4
94.69
-0.6% include/nlohmann/detail/string_utils.hpp
4
87.93
-0.18% include/nlohmann/detail/view/serializer.hpp
2
99.47
0.02% include/nlohmann/detail/input/input_adapters.hpp
2
99.59
-0.05% include/nlohmann/detail/input/lexer.hpp
2
99.51
-0.02% include/nlohmann/detail/view/edit.hpp
1
99.44
0.0% include/nlohmann/detail/input/parser.hpp
Jobs
ID Job ID Ran Files Coverage
1 40165032260.1 25 Oct 2026 05:51AM UTC 61
95.1
GitHub Action Run
Source Files on build 40165032260
  • Tree
  • List 61
  • Changed 26
  • Source Changed 26
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40165032260
  • cc917d71 on github
  • Prev Build on develop (#40109345980)
  • Next Build on develop (#40187653313)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc