Delete nullptr Json::Value constructor (#1194)
This patch adds an explicit ctor with a std::nullptr_t argument, that is `delete`-d. This keeps Json::Value from exposing a coding error when automatically promoted to a const char* type.
diff --git a/include/json/value.h b/include/json/value.h
index dffc51a..df1eba6 100644
--- a/include/json/value.h
+++ b/include/json/value.h
@@ -342,6 +342,7 @@
Value(const StaticString& value);
Value(const String& value);
Value(bool value);
+ Value(std::nullptr_t ptr) = delete;
Value(const Value& other);
Value(Value&& other);
~Value();