renamed "toString()" to "to_string()"
This commit is contained in:
parent
f63ff7727e
commit
3bef1a5097
4 changed files with 14 additions and 14 deletions
|
|
@ -116,7 +116,7 @@ You can also get a string representation (serialize):
|
|||
|
||||
```cpp
|
||||
// explicit conversion to string
|
||||
std::string s = j.toString();
|
||||
std::string s = j.to_string();
|
||||
```
|
||||
|
||||
The value of s could be `{"pi": 3.141, "happy": true}`, but the order of the entries in the object is not fixed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue