mirror of
https://github.com/nlohmann/json.git
synced 2026-10-06 22:47:13 +00:00
updated README
This commit is contained in:
1 parent
dcf71748a6
commit
d47b0e749b
2 files changed
+4
-3
No files matched your search
+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