diff --git a/src/coders/json.cpp b/src/coders/json.cpp index f6b27f51..8164371b 100644 --- a/src/coders/json.cpp +++ b/src/coders/json.cpp @@ -241,6 +241,8 @@ dv::value Parser::parseValue() { return INFINITY; } else if (literal == "nan") { return NAN; + } else if (literal == "null") { + return nullptr; } throw error("invalid keyword " + literal); }