Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2014-06-29 11:03:38 +0400
committerMilo Yip <miloyip@gmail.com>2014-06-29 11:03:38 +0400
commit1d14748bc9e180ef6a94bd137e025e7617354f99 (patch)
treeb2a795a6510eef2d7faa03a6814be14ed5acc478 /readme.md
parent6f306755d5b7503d2fb6fb88aecbcc5534babdf7 (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.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index e07321b9..58802a26 100644
--- a/readme.md
+++ b/readme.md
@@ -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"];