JsonCpp project page Classes Namespace JsonCpp home page

Public Attributes | List of all members
Json::Reader::StructuredError Struct Reference

An error tagged with where in the JSON text it was encountered. More...

#include <json/reader.h>

+ Collaboration diagram for Json::Reader::StructuredError:

Public Attributes

ptrdiff_t offset_start
 
ptrdiff_t offset_limit
 
std::string message
 

Detailed Description

An error tagged with where in the JSON text it was encountered.

The offsets give the [start, limit) range of bytes within the text. Note that this is bytes, not codepoints.

Definition at line 46 of file reader.h.

Member Data Documentation

◆ message

std::string Json::Reader::StructuredError::message

Definition at line 49 of file reader.h.

Referenced by Json::Reader::getStructuredErrors().

◆ offset_limit

ptrdiff_t Json::Reader::StructuredError::offset_limit

Definition at line 48 of file reader.h.

Referenced by Json::Reader::getStructuredErrors().

◆ offset_start

ptrdiff_t Json::Reader::StructuredError::offset_start

Definition at line 47 of file reader.h.

Referenced by Json::Reader::getStructuredErrors().


The documentation for this struct was generated from the following file: