boostorg / json

A C++11 library for parsing and serializing JSON to and from a DOM container in memory.
https://boost.org/libs/json
Boost Software License 1.0
432 stars 94 forks source link

Direct serialization #956

Closed grisumbras closed 2 weeks ago

cppalliance-bot commented 10 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

codecov[bot] commented 10 months ago

Codecov Report

Attention: Patch coverage is 98.89381% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.41%. Comparing base (72b0e8a) to head (8e1fc20). Report is 17 commits behind head on develop.

Files with missing lines Patch % Lines
include/boost/json/impl/serializer.hpp 97.70% 4 Missing :warning:
include/boost/json/impl/serializer.ipp 99.36% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/boostorg/json/pull/956/graphs/tree.svg?width=650&height=150&src=pr&token=HNiMmIjyKi&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg)](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) ```diff @@ Coverage Diff @@ ## develop #956 +/- ## =========================================== + Coverage 93.40% 93.41% +0.01% =========================================== Files 87 91 +4 Lines 8622 8672 +50 =========================================== + Hits 8053 8101 +48 - Misses 569 571 +2 ``` | [Files with missing lines](https://app.codecov.io/gh/boostorg/json/pull/956?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | Coverage Δ | | |---|---|---| | [include/boost/json/basic\_parser.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fbasic_parser.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2Jhc2ljX3BhcnNlci5ocHA=) | `100.00% <ø> (ø)` | | | [include/boost/json/basic\_parser\_impl.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fbasic_parser_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2Jhc2ljX3BhcnNlcl9pbXBsLmhwcA==) | `98.50% <100.00%> (+0.14%)` | :arrow_up: | | [include/boost/json/detail/impl/stack.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fdetail%2Fimpl%2Fstack.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2RldGFpbC9pbXBsL3N0YWNrLmhwcA==) | `100.00% <100.00%> (ø)` | | | [include/boost/json/detail/impl/stack.ipp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fdetail%2Fimpl%2Fstack.ipp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2RldGFpbC9pbXBsL3N0YWNrLmlwcA==) | `100.00% <100.00%> (ø)` | | | [include/boost/json/detail/literals.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fdetail%2Fliterals.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2RldGFpbC9saXRlcmFscy5ocHA=) | `100.00% <100.00%> (ø)` | | | [include/boost/json/detail/stack.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fdetail%2Fstack.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2RldGFpbC9zdGFjay5ocHA=) | `100.00% <100.00%> (ø)` | | | [include/boost/json/impl/serialize.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fimpl%2Fserialize.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2ltcGwvc2VyaWFsaXplLmhwcA==) | `100.00% <100.00%> (ø)` | | | [include/boost/json/impl/serialize.ipp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fimpl%2Fserialize.ipp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2ltcGwvc2VyaWFsaXplLmlwcA==) | `95.60% <ø> (ø)` | | | [include/boost/json/serializer.hpp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fserializer.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL3NlcmlhbGl6ZXIuaHBw) | `100.00% <ø> (ø)` | | | [include/boost/json/impl/serializer.ipp](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree&filepath=include%2Fboost%2Fjson%2Fimpl%2Fserializer.ipp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9qc29uL2ltcGwvc2VyaWFsaXplci5pcHA=) | `99.60% <99.36%> (-0.17%)` | :arrow_down: | | ... and [1 more](https://app.codecov.io/gh/boostorg/json/pull/956?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/boostorg/json/pull/956?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/boostorg/json/pull/956?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Last update [72b0e8a...8e1fc20](https://app.codecov.io/gh/boostorg/json/pull/956?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg).
cppalliance-bot commented 10 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 9 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 8 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html

cppalliance-bot commented 3 months ago

pullrequest Benchmark test results. More info at https://benchmark.cppalliance.org/jsonbenchmarks-pullrequests/956/pullrequest.html

cppalliance-bot commented 3 months ago

An automated preview of the documentation is available at https://956.jsondocs.prtest.cppalliance.org/libs/json/doc/html/index.html