Lua CJSON provides JSON support for Lua. It has been tested under Linux, FreeBSD, OSX, Solaris and Windows.
- 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.