OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more

Lua Cjson Library

Ben Whaley , 16 Jul 2025 (created 11 Aug 2011)

Lua CJSON is a Lua C module that provides fast JSON parsing and encoding support for Lua.

Project homepage: https://kyne.au/~mark/software/lua-cjson.php

OpenResty includes its own fork of this library, however. The repository of OpenResty's fork is on GitHub:

https://github.com/openresty/lua-cjson/

This library is enabled by default. You can specify the --without-lua_cjson option to OpenResty's ./configure script to explicitly disable it.