15 Commits

Author SHA1 Message Date
Milo Yip
a62777487d Normalize line endings but not JSON files 2016-03-04 11:52:18 +08:00
Milo Yip
7fb84d304b Revert "Normalize all the line endings"
This reverts commit 6047e3ce128954ec594e9a893ef2125c9f9b61c7.
2016-03-04 11:51:30 +08:00
Milo Yip
6047e3ce12 Normalize all the line endings 2016-03-04 09:46:11 +08:00
Milo Yip
74c8dcfd57 Fix clang -Weverything 2015-12-18 18:34:04 +08:00
miloyip
67be9ed2cb Remove depreciated FileStream 2015-04-14 11:08:47 +08:00
Philipp A. Hartmann
953cda14f7 tutorial.cpp: fix insitu parsing (closes #273)
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.
2015-03-31 20:55:00 +02:00
Anton Indrawan
5a96c1f93e Compile all examples with the Dinkum C++ of QNX 6.6
QCC -Wall -Wextra -Vgcc_ntoarmv7le -I../include <example>
2014-11-23 21:03:57 +01:00
Zhihao Yuan
7303d92990 Disambiguate GenericValue's [0] and ["string"] 2014-10-23 21:50:39 -04:00
Milo Yip
0dbcc1cf2e Add license and change indents from tab to space. 2014-08-11 22:26:45 +08:00
Philipp A. Hartmann
78c75de22c tutorial.cpp: update for FindMember change
* use MemberIterator instead of plain pointer
 * check against MemberEnd() instead of NULL
2014-07-03 15:04:04 +02:00
Milo Yip
1d14748bc9 Added overloaded functions for default parseFlags
Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner.
2014-06-29 15:03:38 +08:00
Milo Yip
609381fc2e Fixed some clang -Weverything warnings. 2014-06-25 23:14:32 +08:00
miloyip@gmail.com
5136516293 Remove warnings in examples
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@95 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-16 13:02:05 +00:00
miloyip@gmail.com
9b960b6b0a Fixed Issue 7: GenericValue& operator[](const Ch* name) - bug if key not found
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
2012-11-14 07:07:06 +00:00
miloyip@gmail.com
8f8e905306 Initial version (0.1)
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-18 17:01:23 +00:00