LuaRocks.org had a security incident in September 2026. Read the incident report.

dkjson

David Kolf's JSON module for Lua

$ luarocks install dkjson

dkjson is a module for encoding and decoding JSON data. It supports UTF-8.

JSON (JavaScript Object Notation) is a format for serializing data based on the syntax for JavaScript data structures.

dkjson is written in Lua without any dependencies, but when LPeg is available dkjson can use it to speed up decoding.

---

Please read <https://dkolf.de/dkjson-lua/roadmap-3.0> to stay informed about future changes.

Versions

2.11-1116 days ago1,251,513 downloads
2.10-1191 days ago459,606 downloads
2.9-1205 days ago66,677 downloads
2.8-2333 days ago437,546 downloads
2.8-12 years ago1,753,600 downloads
2.7-12 years ago337,178 downloads
2.6-14 years ago2,186,660 downloads
2.5-35 years ago209,811 downloads
2.5-211 years ago2,244,574 downloads
2.5-112 years ago11,417 downloads
2.4-112 years ago5,878 downloads
2.3-112 years ago387 downloads
2.2-112 years ago10,351 downloads
2.1-112 years ago454 downloads

Dependencies

lua >= 5.1, < 5.6

Dependency for

adscaptcha, aibirthday, aigifmaker, aistemsplitter, Apache APISIX, betbetter, bibleit, buildkite-test-collector, busted, busted, busted, busted-ffi, dawn, digestif, Eat, Eatv3, emaki, fennel-ls, fffonion-busted, flagdash, flowerpot, freeimagetovideo, gemini.lua, ggram, ghosttykit, httprequestparser, kavel, kcl_lib, kong-o2b-ticketing, kong-plugin-abac, kong-plugin-hal, kong-plugin-mithril, lacord, lain, lain, lefthook, lestserver, ln, lua-anki-connect, lua-cc, lua-covid-data, lua-lsp, lua-lsp, lua-moongo, lua-Spore, lua-zabbix-sender, lua_haproxy_netacea, luacord, LuaCov-coveralls, luajls, lual, luapit, luarocks-tag-release, luastash, LuaTwit, luavel, luawk, Lunatic, lusty-json, melt, movoa, musiclua, nginx-metrix, openai, otouto-test, ovh-api, panlunatic, parse_sdp, peagisub, Pilosa, plotly, pm4-sdk-lua, pmcli, qoleng, recaptcha-siteverify, REST, 123Movies'|HD| Watch 1917 Online (2019) Full Movie or Free Putlockers, RestServer, test360, RestServer, rocksmcp, rude, saymaker, shaber, shodan, silicord, smsgora, st, tea-leaves, teal-language-server, teal-language-server, telegram, telegram-bot-lua, telegram-bot-lua, tesla, thingsim, titogramlua, tonos-client, twrl, typeid, ug-lua-llm, unirate-api, veida, vscode-mobdebug, waservix, Web3.lua, webscraper

Labels

Manifests