Assistance Needed with Installing Lunajson for JSON Decoding

I’m looking to retrieve JSON data from Redis, where the data is stored as a string. To decode the data, I attempted to install “lunajson,” but encountered an error during the installation process. The specific error message is as follows:
`Run command : luarocks install lunajson
Installing https://luarocks.org/lunajson-1.2.3-1.src.rock

Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.
`

This is not related to KumoMTA, and you’ll need to ask on luarocks forums / issue queue if this doesn’t work, but you need to install lua-dev package on your system (on ubuntu it’s called liblua5.3-dev).

ok

we don’t support loading compiled lua extensions into kumo.

However, there are built-in functions for json: json_load - KumoMTA Docs
json_parse - KumoMTA Docs
json_encode - KumoMTA Docs
json_encode_pretty - KumoMTA Docs