RapidJSON

Use the RapidJSON module to encode and decode large documents quickly. It is similar to the standard JSON module, but can handle large amounts of data without risk of raising execution count errors.

To use the RapidJSON module, add the following line to your script:

rapidjson = require("rapidjson")

Note that you can assign any local variable name to the require("rapidjson") object.

Portions of this topic are reprinted under permission of the lua-rapidjson license.