We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c1d77 commit 0ead068Copy full SHA for 0ead068
json.cpp
@@ -597,7 +597,7 @@ Json::operator[](size_t index)
597
}
598
599
Json&
600
-Json::operator[](const std::string& key)
+Json::operator[](const JTJSON_STRING_VIEW& key)
601
{
602
if (type_ != Object) {
603
clear();
json.h
@@ -213,7 +213,7 @@ class Json
213
Json& operator=(Json&&) noexcept;
214
215
Json& operator[](size_t);
216
- Json& operator[](const std::string&);
+ Json& operator[](const JTJSON_STRING_VIEW&);
217
218
operator std::string() const
219
0 commit comments