We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 632044a commit debda15Copy full SHA for debda15
include/json/value.h
@@ -342,6 +342,7 @@ class JSON_API Value {
342
Value(const StaticString& value);
343
Value(const String& value);
344
Value(bool value);
345
+ Value(nullptr_t ptr);
346
Value(const Value& other);
347
Value(Value&& other);
348
~Value();
src/lib_json/json_value.cpp
@@ -428,6 +428,8 @@ Value::Value(bool value) {
428
value_.bool_ = value;
429
}
430
431
+Value::Value(nullptr_t value) { initBasic(nullValue); }
432
+
433
Value::Value(const Value& other) {
434
dupPayload(other);
435
dupMeta(other);
0 commit comments