cjson & dkjson Serialization Out of the Box
Parse and emit JSON payloads instantaneously offline using require('cjson') or require('dkjson') — complete with cjson.encode_pretty() for human-readable config files and API debugging.
require().Standard Lua ships intentionally minimal, and compiling C rocks on a phone is notoriously painful. SuperCode pre-bundles cjson, lsqlite3, lfs, crypto, regex, base64, socket.http, and inspect straight into its offline Lua 5.4.7 runtime.
Build REST clients, local SQLite save-file editors, directory batch tools, and OpenResty/Redis-style JSON scripts without touching a C compiler.
Parse and emit JSON payloads instantaneously offline using require('cjson') or require('dkjson') — complete with cjson.encode_pretty() for human-readable config files and API debugging.
Open :memory: or persistent workspace .db files via require('lsqlite3') or require('sqlite3'). Supports prepared statements, :named parameter bindings, db:nrows() iterators, and ACID transactions.
Automate batch renames and asset audits across your project folder using require('lfs') — including lfs.dir(), lfs.mkdir(), lfs.currentdir(), and lfs.attributes() size/timestamp checks.
Sign webhook payloads, verify file checksums, and mint unique IDs offline with SHA-256, SHA-512, MD5, keyed HMAC digests, crypto.uuid(), and RFC-compliant Base64 encoding/decoding.
Test live REST APIs via require('socket.http'), run full PCRE/POSIX regular expressions when Lua patterns aren't enough via require('regex'), and dump nested tables cleanly with require('inspect').
Working with PEG parsers in lpeg or libuv async loops in luv? SuperCode automatically bundles your project modules to its cloud Lua runtime and maps tracebacks 1:1 to your editor.
Combine JSON, SQLite, filesystem automation, and SQL inspection in one cohesive workspace.
Write standard require('cjson'), require('lsqlite3'), require('lfs'), or require('crypto') at the top of your .lua file — zero installation steps.
Execute your script in milliseconds; any .db, .json, or .log files written on disk sync straight into your Explorer project tree.
Tap the generated .db file in Explorer to browse schemas and run analytical queries in SuperCode's 9-mode SQL Studio.
If a script imports external C rocks like lpeg or luv, run online with automatic multi-file module bundling.
SuperCode IDE for Android ships native Lua 5.4.7 with over eleven pre-integrated extension modules ready offline via require() — including cjson, dkjson, lsqlite3, lfs (LuaFileSystem), crypto, sha2, md5, base64, regex, socket.http, and inspect — eliminating mobile luarocks compilation.
| Extension Module | require() Name | SuperCode Offline Status | Stock Lua CLI | Java LuaJ Apps |
|---|---|---|---|---|
| Fast JSON + Pretty Print | cjson / dkjson | Built-In Offline | Requires luarocks gcc | Missing |
| Embedded SQLite 3 | lsqlite3 / sqlite3 | Built-In Offline (:named + .db) | Requires C headers | Missing |
| Filesystem & Directories | lfs | Built-In Offline (dir/mkdir/attr) | Requires luarocks | Missing |
| Hashing, HMAC & UUID | crypto / sha2 / md5 / base64 | Built-In Offline | External C library | Missing |
| HTTP, Regex & Debug | socket.http / regex / inspect | Built-In (+ Cloud lpeg/luv) | Manual build | Missing |
Common questions about using cjson, lsqlite3, LuaFileSystem, and luarocks modules on Android.
Navigate between the main Offline Lua 5.4 IDE hub and all 5 specialized Lua scripting guides.
Main overview of SuperCode's native ~400µs Lua 5.4.7 engine, 11+ built-in offline modules, multi-file require(), and . vs : AST completion.
Prototype RPG state machines, coroutines, and metatable OOP classes offline for Luau/Roblox, Love2D, and embedded game engines.
Require cjson, lsqlite3, lfs (LuaFileSystem), crypto/sha2, regex, base64, socket.http, and inspect out of the box with zero luarocks setup.
Use true Lua 5.4 64-bit bitwise operators, integer floor division //, <const>/<close> variables, utf8, and multi-folder require() packages.
Master Lua tables, closures, and pattern matching offline with 8 runnable templates, . vs : AST autocomplete, Lua formatter, and PDF export.
Automate Android tasks in microseconds with native Lua 5.4.7 backed by BoringSSL crypto/sha2, ICU Unicode regex, OkHttp socket.http (1MB OOM guard), lfs filesystem ops, and 1-tap formatting.