mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-06 13:41:35 +01:00
Merge pull request #407 from fcharlie/master
doc: 自定义流应当使用 ParseStream 而不是 Parse
This commit is contained in:
commit
3517aca39a
@ -320,7 +320,7 @@ std::stringstream ss(json);
|
||||
IStreamWrapper is(ss);
|
||||
|
||||
Document d;
|
||||
d.Parse(is);
|
||||
d.ParseStream(is);
|
||||
~~~~~~~~~~
|
||||
|
||||
但要注意,由于标准库的内部开销问,此实现的性能可能不如RapidJSON的内存/文件流。
|
||||
|
Loading…
x
Reference in New Issue
Block a user