Public Member Functions | Private Attributes | List of all members
Json::OurCharReader Class Reference
Inheritance diagram for Json::OurCharReader:
Inheritance graph
[legend]

Public Member Functions

 OurCharReader (bool collectComments, OurFeatures const &features)
 
 OurCharReader (bool collectComments, OurFeatures const &features)
 
bool parse (char const *beginDoc, char const *endDoc, Value *root, std::string *errs) override
 Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read. More...
 
bool parse (char const *beginDoc, char const *endDoc, Value *root, std::string *errs) override
 Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read. More...
 
- Public Member Functions inherited from Json::CharReader
virtual ~CharReader ()
 
virtual ~CharReader ()
 

Private Attributes

const bool collectComments_
 
OurReader reader_
 

Detailed Description

Definition at line 2079 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.

Constructor & Destructor Documentation

◆ OurCharReader() [1/2]

Json::OurCharReader::OurCharReader ( bool  collectComments,
OurFeatures const features 
)
inline

◆ OurCharReader() [2/2]

Json::OurCharReader::OurCharReader ( bool  collectComments,
OurFeatures const features 
)
inline

Member Function Documentation

◆ parse() [1/2]

bool Json::OurCharReader::parse ( char const beginDoc,
char const endDoc,
Value root,
std::string *  errs 
)
inlineoverridevirtual

Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read.

Parameters
beginDocPointer on the beginning of the UTF-8 encoded string of the document to read.
endDocPointer on the end of the UTF-8 encoded string of the document to read. Must be >= beginDoc.
root[out] Contains the root value of the document if it was successfully parsed.
errs[out] Formatted error messages (if not NULL) a user friendly string that lists errors in the parsed document.
Returns
true if the document was successfully parsed, false if an error occurred.

Implements Json::CharReader.

Definition at line 2089 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.

◆ parse() [2/2]

bool Json::OurCharReader::parse ( char const beginDoc,
char const endDoc,
Value root,
std::string *  errs 
)
inlineoverridevirtual

Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read.

Parameters
beginDocPointer on the beginning of the UTF-8 encoded string of the document to read.
endDocPointer on the end of the UTF-8 encoded string of the document to read. Must be >= beginDoc.
root[out] Contains the root value of the document if it was successfully parsed.
errs[out] Formatted error messages (if not NULL) a user friendly string that lists errors in the parsed document.
Returns
true if the document was successfully parsed, false if an error occurred.

Implements Json::CharReader.

Definition at line 2089 of file protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.

Member Data Documentation

◆ collectComments_

const bool Json::OurCharReader::collectComments_
private

◆ reader_

OurReader Json::OurCharReader::reader_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:40