revert 'Added structured error reporting to Reader.'

revert 68db655347
issue #147
This commit is contained in:
Christopher Dunn
2015-01-29 11:32:34 -06:00
parent 48a617179a
commit e6ba425a73
5 changed files with 3 additions and 180 deletions

View File

@@ -451,13 +451,6 @@ Json::Value obj_value(Json::objectValue); // {}
iterator begin();
iterator end();
// Accessors for the [start, limit) range of bytes within the JSON text from
// which this value was parsed, if any.
void setOffsetStart(size_t start);
void setOffsetLimit(size_t limit);
size_t getOffsetStart() const;
size_t getOffsetLimit() const;
private:
void initBasic(ValueType type, bool allocated = false);
@@ -514,11 +507,6 @@ private:
unsigned int memberNameIsStatic_ : 1; // used by the ValueInternalMap container.
#endif
CommentInfo* comments_;
// [start, limit) byte offsets in the source JSON text from which this Value
// was extracted.
size_t start_;
size_t limit_;
};
/** \brief Experimental and untested: represents an element of the "path" to