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
New! OpenResty 1.29.2.3 is now released!
New! OpenResty 1.27.1.2 is now released!
New! New blog post OpenResty XRay Version 26.2.1. Now Available is published.
New! New blog post What is OpenResty Edge is published.
New! New blog post Introduction to OpenResty XRay is published.

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.