mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
Fix comments on Json Reader
There have been multiple discussions of the inaccurate comments in the Json Reader class. This patch just updates those comments.
This commit is contained in:
parent
f8db40ff83
commit
95b3092ce4
@ -870,7 +870,8 @@ bool Reader::pushError(const Value& value,
|
|||||||
|
|
||||||
bool Reader::good() const { return errors_.empty(); }
|
bool Reader::good() const { return errors_.empty(); }
|
||||||
|
|
||||||
// exact copy of Features
|
// Originally copied from the Features class (now deprecated), used internally
|
||||||
|
// for features implementation.
|
||||||
class OurFeatures {
|
class OurFeatures {
|
||||||
public:
|
public:
|
||||||
static OurFeatures all();
|
static OurFeatures all();
|
||||||
@ -885,15 +886,13 @@ public:
|
|||||||
size_t stackLimit_;
|
size_t stackLimit_;
|
||||||
}; // OurFeatures
|
}; // OurFeatures
|
||||||
|
|
||||||
// exact copy of Implementation of class Features
|
|
||||||
// ////////////////////////////////
|
|
||||||
|
|
||||||
OurFeatures OurFeatures::all() { return {}; }
|
OurFeatures OurFeatures::all() { return {}; }
|
||||||
|
|
||||||
// Implementation of class Reader
|
// Implementation of class Reader
|
||||||
// ////////////////////////////////
|
// ////////////////////////////////
|
||||||
|
|
||||||
// exact copy of Reader, renamed to OurReader
|
// Originally copied from the Reader class (now deprecated), used internally
|
||||||
|
// for implementing JSON reading.
|
||||||
class OurReader {
|
class OurReader {
|
||||||
public:
|
public:
|
||||||
typedef char Char;
|
typedef char Char;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user