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
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
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
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