The purpose of this repo is to provide some examples of using lua with redis.
$ redis-cli --ldb --eval scripts/debug.lua
https://www.kyne.com.au/~mark/software/lua-cjson-manual.html
$ redis-cli --eval scripts/json.lua
1) "[1]"
2) "{\"a\":\"oof\"}"
3) "a"
The limitations of cjson
within the redis should discourage
you from using it for redis lua scripting.