diff options
author | Milo Yip <miloyip@gmail.com> | 2014-06-29 11:03:38 +0400 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2014-06-29 11:03:38 +0400 |
commit | 1d14748bc9e180ef6a94bd137e025e7617354f99 (patch) | |
tree | b2a795a6510eef2d7faa03a6814be14ed5acc478 /readme.md | |
parent | 6f306755d5b7503d2fb6fb88aecbcc5534babdf7 (diff) |
Added overloaded functions for default parseFlags
Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ int main() { // 1. Parse a JSON string into DOM. const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; Document d; - d.Parse<0>(json); + d.Parse(json); // 2. Modify it by DOM. Value& s = d["stars"]; |