A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language.
Features
- Lazy or aggressive JSON Parsing
- 100% JSON compliant
- Language independent C interface
- C++ interface
- Test Suite and Example Projects
- C and Bash style comment support
- Automated install via make
- cplusplus.com - style documentation
- Streaming ability
- Security to prevent various forms of Denial of Service
Follow libjson
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
-
Be careful when you are up to choose this libjson. 1. If you need to handle Unicode ( why not. You have to for handling Twitter & Facebook response. ), make sure that your host app uses GNU C++ standard not strict ANSI C++ standard. if using strict ANSI C++ standard, Unicode support in this library should be turned off. Then it can't handle Unicode escape sequence like \uXXXX. At least it should return \uXXXX if it can't handle the Unicode. As some people pointed out, wouldn't it be better to conver it to UTF-8? Unicode escape sequence is not UTF-8. If Unicode option is off, it will return chopped string at \u. (returns only up to \. eg. "This is \uAC00" yields "This \". 2. Documentation is not clear if it's SOX style or DOM parser style. It turned out that it handles the both, which is good. More accurately speaking, you can achieve SOX-like on by using its iterator. 3. Its build option is also expected to be specified in a header file, JSONOptions.h, which can introduce some odd situation when using this library in your host project.