الوسائط
string
مطلوب
JSON string يتم parse له. Function تقرأ هذا argument باستخدام string type checking.
DecodeOptions
Optional decode options. boolean يضبط useNull. table يمكنها ضبط useNull و maxDepth.
القيم الراجعة
any
Decoded value. JSON objects و arrays تصبح tables مع JSON type markers، strings تصبح Lua strings، numbers تصبح Lua numbers، booleans تصبح booleans، و null يصبح json.null إلا إذا كان useNull false.