JSON
JSON Sort Keys
JSON içindeki nesne anahtarlarını özyinelemeli olarak alfabetik sıralama — dizi öğelerinin sırası değişmez, yalnızca her iç içe geçme seviyesindeki nesne anahtarları sıralanır.
Sıkça sorulan sorular
Why would I sort JSON keys?
Sorted keys make it easier to diff two versions of a JSON document and make configuration files or API responses more predictable when browsing them.
Does this change the order of array elements?
No. Only object keys are sorted at every nesting level — array element order is left exactly as it was in the input, since arrays are ordered by position, not by keys.
Is the data processed on a server?
No, sorting happens entirely in your browser via JavaScript, with nothing sent anywhere else.