Skip to content

json

The json namespace. Nyx Lua API v1.

json.encode(value: any) -> string

JSON text for nil, booleans, numbers, strings and tables.

json.decode(text: string) -> any

Parses JSON text.