mirror of
https://github.com/nlohmann/json.git
synced 2026-07-08 03:25:10 +00:00
updated README
This commit is contained in:
+2
-2
@@ -175,7 +175,7 @@ class json
|
||||
T get() const;
|
||||
|
||||
/// implicit conversion to string representation
|
||||
operator const std::string() const;
|
||||
operator std::string() const;
|
||||
/// implicit conversion to integer (only for numbers)
|
||||
operator int() const;
|
||||
/// implicit conversion to double (only for numbers)
|
||||
@@ -894,7 +894,7 @@ json::object_t json::get() const
|
||||
}
|
||||
}
|
||||
|
||||
json::operator const std::string() const
|
||||
json::operator std::string() const
|
||||
{
|
||||
return get<std::string>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user