Skip to main content

Argümanlar

string
gerekli
Formatting oncesinde parse edilen JSON string. Function bu argument degerini string type checking ile okur.
EncodeOptions
Re-encode step icin optional encode options. json.format, json.encode ile ayni encode options degerlerini okur, sonra pretty degerini true yapar.
DecodeOptions
Input JSON parsing sirasinda kullanilan optional decode options. boolean useNull ayarlar. table useNull ve maxDepth ayarlayabilir.

Dönüşler

string
Input parsing ve re-encoding sonrasi uretilen readable formatted JSON string.

Tipler

EncodeOptions

JSON serileştirmesini ve biçimlendirmesini kontrol eder.

DecodeOptions

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

Örnek

Existing JSON parse eder ve readable formatted JSON olarak re-encode eder.