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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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

2026-05-11