Skip to main content

Argümanlar

string
gerekli
Parse edilecek JSON string. Function bu argument degerini string type checking ile okur.
DecodeOptions
Optional decode options. boolean useNull ayarlar. table useNull ve maxDepth ayarlayabilir.

Dönüşler

any
Decoded value. JSON objects ve arrays JSON type markers iceren tables olur, strings Lua strings olur, numbers Lua numbers olur, booleans booleans olur ve null, useNull false degilse json.null olur.

Tipler

DecodeOptions

JSON ayrıştırma davranışını kontrol eder.

Örnek

JSON degerini json.decode tarafindan kullanilan ayni function ile parse et.