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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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