diff --git a/lldb/source/Utility/StructuredData.cpp b/lldb/source/Utility/StructuredData.cpp --- a/lldb/source/Utility/StructuredData.cpp +++ b/lldb/source/Utility/StructuredData.cpp @@ -69,6 +69,9 @@ if (auto d = value.getAsNumber()) return std::make_shared(*d); + if (auto n = value.getAsNull()) + return std::make_shared(); + return StructuredData::ObjectSP(); }