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
Atera - an All-in-one platform for IT management Icon
Atera - an All-in-one platform for IT management

Ideal for IT departments and MSPs (managed service providers)

Your IT essentials, integrated & elevated. Take your IT management from automated to autonomous, download Atera's agent to start your free trial!
Try Atera now
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