mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Allow assigning a value to a specific index in a JsonArray
This commit is contained in:
parent
74e9a892e3
commit
4babf6e4e1
Notes:
sideshowbarker
2024-07-18 21:03:59 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/4babf6e4e1e Pull-request: https://github.com/SerenityOS/serenity/pull/5947
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue