$ luarocks install rapidjson
A very fast json module for LuaJIT 2.0/2.1 and Lua 5.1/5.2/5.3.
Based on the very fast json library RapidJSON.
Provided API:
- `rapidjson.decode()` decode json to lua table.
- `rapidjson.encode()` encode lua table to json string.
- `rapidjson.load()` load json file into lua table.
- `rapidjson.dump()` dump lua table to json file.
Versions
Dependencies
lua >= 5.1