AK: Allow assigning a value to a specific index in a JsonArray

This commit is contained in:
Timothy Flynn 2021-03-25 07:27:47 -04:00 committed by Andreas Kling
parent 74e9a892e3
commit 4babf6e4e1

View file

@ -76,6 +76,7 @@ public:
void clear() { m_values.clear(); }
void append(JsonValue value) { m_values.append(move(value)); }
void set(int index, JsonValue value) { m_values[index] = move(value); }
template<typename Builder>
typename Builder::OutputType serialized() const;