tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
129 stars 18 forks source link

Add file name to extraction error messages #133

Open tgockel opened 5 years ago

tgockel commented 5 years ago

The extraction_context knows how to display where in the object it is extracting from, but what if that is from a file? It would be nice to see extraction errors which had something like filename.json#.foo.bar[5] in the resulting error (actual format of the filename in the path spec TBD).