Lua CJSON
Version: 2.1.0 (changelog)
License: MIT
Last released: 1 Mar 2012
Requires: Lua or LuaJIT
Download: lua-cjson-2.1.0.tar.gz (84kB), lua-cjson-2.1.0.zip (95kB)
Source (GIT): GitHub
Lua CJSON provides JSON support for Lua. It has been tested under Linux, FreeBSD, OSX, Solaris and Windows.
Documentation:
- Lua CJSON manual
- Performance comparison between DKSJON, Lua YAJL and Lua CJSON
Features:
- Fast, standards compliant encoding/parsing routines
- Full support for JSON with UTF-8, including decoding surrogate pairs
- Optional run-time support for common exceptions to the JSON specification (infinity, NaN,..)
- No dependencies on other libraries
The Lua-users Wiki also offers a comparison between available JSON Lua modules.