9 Commits

Author SHA1 Message Date
Milo Yip
0dbcc1cf2e Add license and change indents from tab to space. 2014-08-11 22:26:45 +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
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