Início
Tom Utilities

Classificador JSON

Ferramentas JSON

Ordena as chaves de objeto em ordem alfabética em todos os níveis e, opcionalmente, ordena arrays.

Entrada

Resultado

Como usar

Sorting keys

Press Sort to order every object key alphabetically, recursively.

  1. Paste JSON into the input editor.
  2. Press Sort.
  3. Copy the ordered document.

Perguntas frequentes

Are arrays reordered?

Arrays keep their order by default because array order is usually meaningful.

Is the comparison case sensitive?

Keys are compared using a locale aware, case insensitive ordering.