summaryrefslogtreecommitdiff
path: root/example/tutorial/tutorial.cpp
AgeCommit message (Collapse)AuthorLines
2016-03-04Normalize line endings but not JSON filesMilo Yip-151/+151
2016-03-04Revert "Normalize all the line endings"Milo Yip-151/+151
This reverts commit 6047e3ce128954ec594e9a893ef2125c9f9b61c7.
2016-03-04Normalize all the line endingsMilo Yip-151/+151
2015-12-18Fix clang -WeverythingMilo Yip-4/+4
2015-04-14Remove depreciated FileStreammiloyip-3/+3
2015-03-31tutorial.cpp: fix insitu parsing (closes #273)Philipp A. Hartmann-6/+4
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.
2014-11-23Compile all examples with the Dinkum C++ of QNX 6.6Anton Indrawan-0/+1
QCC -Wall -Wextra -Vgcc_ntoarmv7le -I../include <example>
2014-10-23Disambiguate GenericValue's [0] and ["string"]Zhihao Yuan-5/+1
2014-08-11Add license and change indents from tab to space.Milo Yip-115/+115
2014-07-03tutorial.cpp: update for FindMember changePhilipp A. Hartmann-2/+2
* use MemberIterator instead of plain pointer * check against MemberEnd() instead of NULL
2014-06-29Added overloaded functions for default parseFlagsMilo Yip-2/+2
Can write d.Parse(...) instead of d.Parse<0>(...) Hope to reduce strangeness and confusion for beginner.
2014-06-25Fixed some clang -Weverything warnings.Milo Yip-5/+7
2012-11-16Remove warnings in examplesmiloyip@gmail.com-1/+4
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@95 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-14Fixed Issue 7: GenericValue& operator[](const Ch* name) - bug if key not foundmiloyip@gmail.com-0/+18
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
2011-11-18Initial version (0.1)miloyip@gmail.com-0/+133
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c