diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-18 09:11:31 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-18 09:11:31 +0200 |
commit | 4147394dcb607303eb6702bc40b6f9019575b1c3 (patch) | |
tree | 796a8b030d279cadc50ba0050240dca270f38b29 /AK/JsonValue.h | |
parent | 1a761ea4fdd722309613fcd80a6160c113cc4b2a (diff) | |
download | serenity-4147394dcb607303eb6702bc40b6f9019575b1c3.zip |
AK: Add JsonValue(const char*).
This should obviously become a string, but if we don't have it, constructing
from a string literal ends up creating a boolean value.
Diffstat (limited to 'AK/JsonValue.h')
-rw-r--r-- | AK/JsonValue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/JsonValue.h b/AK/JsonValue.h index d738906189..2d37614513 100644 --- a/AK/JsonValue.h +++ b/AK/JsonValue.h @@ -34,6 +34,7 @@ public: JsonValue(unsigned); JsonValue(double); JsonValue(bool); + JsonValue(const char*); JsonValue(const String&); JsonValue(const JsonArray&); JsonValue(const JsonObject&); |