Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost Intrusive to be able to print the json pointer of where an error occourred when performing the value_to operation. #1070

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

RoyBellingan
Copy link

When used with

https://github.com/RoyBellingan/boostIntrusive/tree/master

It should produce this



------
default msg : source composite size does not match target size
expanded msg: the key >> timestamp << is non optional and missing in path /0/comment/0

------
default msg : source composite size does not match target size
expanded msg: the key >> author << is non optional and missing in path /0/comment/0/likes/1

------
default msg : not a number
expanded msg: Last json pointer was /0/comment/0/timestamp

@cppalliance-bot
Copy link

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

1 similar comment
@cppalliance-bot
Copy link

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

@cppalliance-bot
Copy link

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

1 similar comment
@cppalliance-bot
Copy link

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

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.70%. Comparing base (c02d872) to head (220ea73).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1070   +/-   ##
========================================
  Coverage    93.70%   93.70%           
========================================
  Files           91       91           
  Lines         9139     9139           
========================================
  Hits          8564     8564           
  Misses         575      575           
Files with missing lines Coverage Δ
include/boost/json/detail/value_to.hpp 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c02d872...220ea73. Read the comment docs.

@cppalliance-bot
Copy link

@cppalliance-bot
Copy link

@grisumbras
Copy link
Member

I have an idea for an alternative approach. I'll implement it first, so that I can compare yours with mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants