Value الذي يتم encode له. nil و booleans و numbers و strings و tables و json.null يتم التعامل معها مباشرة. Unsupported Lua types يتم encode لها كـ null إلا إذا كان errorOnUnsupported true.
options
EncodeOptions
No
Optional encode options. boolean يبدل pretty output. number تفعل pretty output بذلك العدد من spaces مع clamp إلى 0.16. string تفعل pretty output بهذا indent. table يمكنها ضبط pretty و sortKeys و emptyTableAsArray و errorOnUnsupported و encodeInvalidNumbersAsNull و maxDepth و indent.