renamed "toString()" to "to_string()"

This commit is contained in:
Niels 2015-01-04 20:50:28 +01:00
parent f63ff7727e
commit 3bef1a5097
4 changed files with 14 additions and 14 deletions

View file

@ -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.