mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
AK: Allow constructing a JsonValue from a StringView explicitly
The next commit will destroy overload detection otherwise, so let's add this constructor. Currently, the same work is already done implicitly through the implicit `String(StringView)` constructor.
This commit is contained in:
parent
07977ad94c
commit
2f631f7dc0
2 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,7 @@ public:
|
|||
JsonValue(bool);
|
||||
JsonValue(const char*);
|
||||
JsonValue(const String&);
|
||||
JsonValue(StringView);
|
||||
JsonValue(const JsonArray&);
|
||||
JsonValue(const JsonObject&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue