|
JSON Voorhees
Killer JSON for C++
|
An error encountered when parsing. More...
#include <jsonv/parse.hpp>
Inheritance diagram for jsonv::parse_error:Classes | |
| struct | problem |
| Description of a single parsing problem. More... | |
Public Types | |
| typedef std::size_t | size_type |
| typedef std::deque< problem > | problem_list |
Public Member Functions | |
| parse_error (problem_list, value partial_result) | |
| const problem_list & | problems () const |
The list of problems which ultimately contributed to this parse_error. More... | |
| const value & | partial_result () const |
| Get the partial result of parsing. More... | |
| const value& jsonv::parse_error::partial_result | ( | ) | const |
Get the partial result of parsing.
There is no guarantee this value even resembles the input JSON as the input JSON was malformed.
| const problem_list& jsonv::parse_error::problems | ( | ) | const |
The list of problems which ultimately contributed to this parse_error.
There will always be at least one problem in this list.