Pular para o conteudo principal
CuteJSON
↑↓ Navegar Enter Selecionar Esc Fechar

JSON Flattener

Turn a nested document into one level of paths and values for a config file or a spreadsheet, and turn it back again.

Voltar para todas as ferramentas

Atalhos de teclado

Estes funcionam onde a acao correspondente existe nesta pagina.

Abrir a paleta de comandos
Ctrl/Cmd + K
Executar a acao principal
Ctrl/Cmd + Enter
Formatar
Ctrl/Cmd + Shift + F
Minimizar
Ctrl/Cmd + Shift + M
Copiar saida
Ctrl/Cmd + Shift + C
Abrir arquivo
Ctrl/Cmd + Shift + O
Baixar saida
Ctrl/Cmd + S
Fechar este dialogo
Esc
Abrir este dialogo
F1 / ?

Dados locais

Tudo abaixo e armazenado apenas neste navegador, neste dispositivo. Nada e enviado a lugar nenhum, e fechar este dialogo nao e necessario para que isso continue verdade.

Rascunhos nao salvos
Ferramentas com opcoes lembradas

Arquivos abertos recentemente

    Nenhum arquivo aberto ainda neste dispositivo.

    Compartilhar via link

    O conteudo e empacotado na parte do link apos o #, que navegadores nunca enviam a um servidor.

    Compartilha a primeira entrada nesta pagina.

    Nada para compartilhar ainda.

    Nested

    Carregar de uma URL

    Busca a URL diretamente do seu navegador.

    Flat

    O resultado aparece aqui.

    Funciona inteiramente no seu navegador.

    Sobre esta ferramenta

    Flattening is what a document needs before it meets something that has no nesting: an environment file, a spreadsheet column, a translation catalogue, a form of key and value pairs. There is no standard for how the path is written, so the three spellings people actually use are offered and the page says which one is in force rather than picking one quietly. Two things really are ambiguous and both are handled in the open. A key that already contains the separator would produce a path nobody could read back, so it is refused by name with the suggestion to pick another style. Going the other way, a path segment made only of digits could mean an array index or an object key, and nothing in a flattened document says which, so that is a toggle. Empty objects and arrays are kept as values of their own, otherwise they vanish and the document does not survive the round trip.

    Como usar

    1. Choose a direction, then paste your document into the left pane or load the sample.
    2. Pick the path style. It has to match the document you are reading back.
    3. Press Convert, then copy the result or download it.