Added features that allow the reader to accept common non-standard JSON.

This is a version of patch #17, from Clay Wood:

    http://sourceforge.net/p/jsoncpp/patches/17/
This commit is contained in:
Aaron Jacobs
2014-04-23 23:28:23 +00:00
parent 77cd83890d
commit 642befc836
3 changed files with 67 additions and 11 deletions

View File

@@ -42,6 +42,12 @@ namespace Json {
/// \c true if root must be either an array or an object value. Default: \c false.
bool strictRoot_;
/// \c true if dropped null placeholders are allowed. Default: \c false.
bool allowDroppedNullPlaceholders_;
/// \c true if numeric object key are allowed. Default: \c false.
bool allowNumericKeys_;
};
} // namespace Json