diff --git a/AK/JsonArray.h b/AK/JsonArray.h index 5d9fe62abb8..aea8601f346 100644 --- a/AK/JsonArray.h +++ b/AK/JsonArray.h @@ -47,6 +47,13 @@ public: { } + template + JsonArray(const Vector& vector) + { + for (auto& value : vector) + m_values.append(move(value)); + } + JsonArray& operator=(const JsonArray& other) { if (this != &other)