Okunabilir biçimlendirme ve kompakt aktarım farklı amaçlara hizmet eder.
Hızlı cevap
Katı JSON, JSON.parse tarafından ayrıştırılır; JSON.stringify ile geçerli çıktı oluşturulur.
Whitespace
Strict JSON is parsed by JSON.parse; valid output is generated with JSON.stringify. In this context, whitespace matters because the output should match the task rather than simply produce a file or string. Review the result against the original input and keep an untouched copy when the workflow changes a file.
Boyut
Strict JSON is parsed by JSON.parse; valid output is generated with JSON.stringify. In this context, size matters because the output should match the task rather than simply produce a file or string. Review the result against the original input and keep an untouched copy when the workflow changes a file.
Debugging
Strict JSON is parsed by JSON.parse; valid output is generated with JSON.stringify. In this context, debugging matters because the output should match the task rather than simply produce a file or string. Review the result against the original input and keep an untouched copy when the workflow changes a file.
Pratik örnek
Önce küçük, hassas olmayan bir örnekle eşleşen Get Tools Lab Json Formatter aracını kullanın. Daha büyük veya önemli bir girdi kullanmadan önce beklenen sonucu onaylayın.
Gizlilik ve sınırlamalar
İşleing davranışı araca bağlıdır. Öncelikli tarayıcı yerel araçları, araç sayfasındaki bu davranışı tanımlar. Yerel tarayıcı iş akışı, sunucu yükleme riskini azaltır ancak kaynak dosyayı, cihazı ve indirilen sonucu koruma ihtiyacını ortadan kaldırmaz.
İlgili iş akışı
Json Formatlayıcıyı Aç. Formatı ve değiş tokuşları anlamak için ilgili karşılaştırma, sözlük ve konu sayfalarını da kullanabilirsiniz.