| Age | Commit message (Collapse) | Author | Lines |
|
|
|
This reverts commit 6047e3ce128954ec594e9a893ef2125c9f9b61c7.
|
|
|
|
|
|
|
|
The insitu parsing example in the tutorial is using a local char
buffer inside a nested scope. After leaving the scope, the
resulting Document object still references this (now invalid)
memory locations.
Some compilers reuse this space on the stack for other local
variables later in the function, corrupting the original document.
Drop the local scope to extend the lifetime of the buffer.
|
|
QCC -Wall -Wextra -Vgcc_ntoarmv7le -I../include <example>
|
|
|
|
|
|
* use MemberIterator instead of plain pointer
* check against MemberEnd() instead of NULL
|
|
Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner.
|
|
|
|
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@95 c5894555-1306-4e8d-425f-1f6f381ee07c
|
|
Makes GenericValue::FindMember() public.
Added array element and object member iteration APIs in examples.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@83 c5894555-1306-4e8d-425f-1f6f381ee07c
|
|
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c
|