BeneJSON 是一个核心使用 C语言 编写的 C++ 接口,其特点是速度快、体积小,可集成到第三方软件。详细如下:
BeneJSON 0.9.3 主要特点为支持 Windows 下使用 MinGW 进行编译,修复了空文件时导致 PullParser 崩溃的问题。
This is a C/C++ JSON input parsing library
The core is meant to be fast, minimal and easy to integrate directly into source.
C++ is used for the interface, while the core is written in C.
Here are some key features of “BeneJSON”:
· Stream parsing
· Memory constrained embedded systems
· Web services handling JSON input
· Configuration file reading
· One by one pull parsing (aka generator)
· Wrap around C callback interface for implementing scripting language binding
· Full verification of JSON spec
· Additional support of interpreting NaN, +/- Infinity values
· Provide the BEST solution for the needs of embedded systems
· Provide a COMPETITIVE solution for uses in other computing domains
· Easy to integrate
· Direct source integration
· Dynamic library
· Basis of scripting library binding
· Use in callback based architectures or directly read results on return
· Provide C based core
· Operates in both callback and return type modes using the same function
· ZERO use of global variables, including malloc calls
· Zero memory leaks by design
· Provide high level C++ interface
· Simplified usage of C core
· ZERO use of malloc and global variables in shipped code
· Streaming pull parsing API
· Verify input’s syntactic properties
· Easy integration with external input sources, I/O libraries
|