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/
diff --git a/include/json/features.h b/include/json/features.h
index 4353278..221d8ff 100644
--- a/include/json/features.h
+++ b/include/json/features.h
@@ -42,6 +42,12 @@
/// \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