json.*

Type Library
Revision Release 2025.3714
Keywords json
See also json.decode()
json.decodeFile()
json.encode()
json.prettify()

Overview

The json library allows you to serialize and deserialize Lua tables into JSON (JavaScript Object Notation). You often use JSON-formatted data in conjunction with web APIs, for example requests sent using the facebook library.

Functions

json.decode()

json.decodeFile()

json.encode()

json.prettify()