diff --git a/source/shared/cpp/ObjectModel/TextRun.cpp b/source/shared/cpp/ObjectModel/TextRun.cpp index 6ec1d601d8..6d77893288 100644 --- a/source/shared/cpp/ObjectModel/TextRun.cpp +++ b/source/shared/cpp/ObjectModel/TextRun.cpp @@ -18,7 +18,8 @@ void TextRun::PopulateKnownPropertiesSet() Json::Value TextRun::SerializeToJsonValue() const { - Json::Value root = m_textElementProperties->SerializeToJsonValue(root); + Json::Value root{}; + root = m_textElementProperties->SerializeToJsonValue(root); root[AdaptiveCardSchemaKeyToString(AdaptiveCardSchemaKey::Type)] = GetInlineTypeString(); if (m_highlight)