Kosta
e70494bc00
fix for Reader::ParseString()
implementation plus some minor code cleanups and additions
2014-09-04 17:29:52 +02:00
Kosta
c8da4d86fc
add Key()->String()
forwarding to the capitalize
example
2014-09-04 15:35:01 +02:00
Kosta
0f4071046f
fix simplereader.cpp
and the Key()->String()
forwarding in BaseReaderHandler
2014-09-04 15:30:44 +02:00
Milo Yip
0dbcc1cf2e
Add license and change indents from tab to space.
2014-08-11 22:26:45 +08:00
Milo Yip
24a9cced45
Suppress VC2013 warning in capitalize
2014-07-13 12:04:37 +08:00
Milo Yip
c203f682e9
Add capitalize example
2014-07-13 03:51:18 +08:00
Milo Yip
a73ed78fd6
Suppress effc++ warning in messagereader
2014-07-13 03:28:09 +08:00
Milo Yip
a5c1324da9
Add messagereader example
2014-07-13 01:17:38 +08:00
Milo Yip
75cee948d4
Fixes main() return should be int in new examples
2014-07-12 23:41:01 +08:00
Milo Yip
3c8a923439
Add simplereader, simplewriter examples.
...
Also modify premake to add all projects in example folder.
2014-07-12 23:07:41 +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
5a186104f4
Fixes warnings
2014-07-03 00:59:35 +08:00
miloyip
389fe87cd8
Merge branch 'master' into issue23errorcode
...
Conflicts:
example/condense/condense.cpp
include/rapidjson/reader.h
test/unittest/readertest.cpp
2014-06-30 09:44:24 +08: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
6f306755d5
Minor adjustment to simpledom example
...
Showing the type Value and preventing member lookup twice.
2014-06-29 14:18:33 +08:00
Milo Yip
8a959c3898
Fixes comment mistakes
2014-06-28 20:37:22 +08:00
Milo Yip
cd144c3cfd
Added a simple example and a diagram showing the process.
2014-06-28 19:44:11 +08:00
Milo Yip
3693d61f5a
Add parse error codes and API for converting error code to text.
...
Parse errors is represented as enum type `ParseErrorCode`.
Error texts are optional for user.
Added `GetParseError_En()` in `error/en.h`, user can localize this file
into other files. User may dynamically change the locale in runtime.
2014-06-27 01:53:56 +08:00
Milo Yip
609381fc2e
Fixed some clang -Weverything warnings.
2014-06-25 23:14:32 +08:00
Milo Yip
f930d9e2e5
Revert "Remove some clang -Weverything warnings."
...
This reverts commit e4ffa48a7563e892047c27f0a50fdeb6f71e6b8b.
2014-06-25 16:07:44 +08:00
Milo Yip
e4ffa48a75
Remove some clang -Weverything warnings.
2014-06-25 16:06:00 +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
bf8fcd19c1
Added prettyauto example, which can handle UTF-8/UTF-16LE/UTF-16BE/UTF-32LE/UTF-32BE
...
Fixed a bug for using Reader with AutoUTFInputStream
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@50 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-12-03 11:14:39 +00:00
miloyip@gmail.com
5eac448955
Added EncodedInputStream, AutoUTFInputStream, AutoUTF
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@40 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-29 18:39:03 +00:00
miloyip@gmail.com
08d25ad177
Added Flush() to concept stream. Add this new member function to all streams.
...
Writer and PrettyWriter automatically calls Flush() at the end of JSON text.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@27 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 05:10:46 +00:00
miloyip@gmail.com
d26a6e8b4d
Added missing Flush() in examples. Flush() will be called in Writer later.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@25 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-21 18:54:22 +00:00
miloyip@gmail.com
04515a639e
Implemented FileWriteStream with buffering
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@23 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-21 10:00:33 +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