LoveBrains  1.0.0
Public Member Functions | List of all members
Json::OurCharReader Class Reference
Inheritance diagram for Json::OurCharReader:
Json::CharReader

Public Member Functions

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

Member Function Documentation

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

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.


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