ToolCabana

Diferenças JSON

Compare dois valores JSON e veja suas diferenças.

Favorites are saved in this browser. Find them in My favorites.

Diferenças JSON

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Como usar Diferenças JSON

JSON diff compares two JSON values and shows the lines that were added, removed or left unchanged. Paste the original into the main box and the second version into the Compare with JSON field. Both are parsed first, and object keys are put in sorted order, so a different key order alone does not count as a change.

  1. Cole a fonte no editor de entrada ou carregue o exemplo integrado.
  2. Configure a comparação com JSON.
  3. Execute a comparação de diferenças JSON, revise a saída e use os controles disponíveis para copiar ou baixar.

O que esta ferramenta suporta

Compare dois valores JSON e veja suas diferenças.

Comparar com JSON
Set this value for your task.

Limites e processamento

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

Fonte de exemplo
{"name":"ToolCabana","count":2}

Perguntas frequentes

How do I compare two JSON files?

Paste the first JSON document into the input and the second into the Compare with JSON setting, then run the tool. Lines that exist only in the second version start with a plus sign and removed lines with a minus sign.

Does JSON diff ignore key order?

Yes. Both values are serialized with their object keys sorted before comparison, so two objects with the same keys and values in a different order produce no differences.

What if one of the JSON inputs is invalid?

Both sides must be strict JSON. If either one fails to parse, the tool shows the parsing error with a line and column instead of a partial comparison.

Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

Quais são os limites de entrada?

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.