Skip to content

json

json is a module which allows for scripts to interface with JSON data representation by converting it to a table and vice versa.

Methods

serialize → string

Parameters: value [ any ]

Converts a Luau table into a JSON string.

parse → any

Parameters: raw [ string? ]

Parses a JSON string back into a Luau table.

null → string

Parameters: ``

Creates a JSON null value for use in serialization.