JSON

The JSON module provides a minimal JSON encoding implementation.

API

class Format.JSON: LibTSMModule
staticmethod Encode(value: boolean | string | number | table): string

Encodes a value as a JSON string.

Parameters:

value (boolean | string | number | table) – The value to encode