json.lua is a lightweight JSON library for Lua that provides straightforward encoding and decoding without requiring a large external package. It is designed to be dropped into an existing project as a single Lua file, then required directly from application code. The library exposes a simple API for turning Lua values into JSON strings and parsing JSON strings back into Lua values. Its small size makes it practical for games, plugins, scripts, embedded Lua environments, and projects where dependency weight matters. It is implemented in pure Lua and is known for being fast among pure Lua JSON options while still offering useful error messages. Overall, it is a convenient choice when a Lua project needs dependable JSON support with minimal setup.

Features

  • Single-file Lua integration
  • JSON encoding support
  • JSON decoding support
  • Pure Lua implementation
  • Small source footprint
  • Readable parsing error messages

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow json.lua

json.lua Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of json.lua!

Additional Project Details

Programming Language

Lua

Related Categories

Lua Libraries

Registered

2 days ago