도구 찾기

↑↓ 이동 Enter 열기

이름을 모르면 작업 내용으로 검색하세요.

JSON Diff

로컬 처리

JSON Diff은(는) 브라우저에서 입력 비교을(를) 수행하며 결과와 제한을 명확히 설명합니다. 이 페이지에는 실제 입출력 예시, 구현 제한, 1차 참고 자료가 포함됩니다.

검토 완료 · 업데이트 · 무료 · 계정 불필요

JSON Diff Workspace
Original JSON0 chars
Changed JSON
Output
Parsing and conversion run locally in this tab.

JSON Diff은(는) 무엇을 하나요?

JSON Diff은(는) 브라우저에서 입력 비교을(를) 수행하며 결과와 제한을 명확히 설명합니다. 검증된 기능: Structural JSON comparison, JSON path output, Array index comparison, Local parsing.

Choose structural JSON diff or text diff?

Use JSON Diff when value types, keys, and array positions matter but formatting does not. Use Text Diff when whitespace, comments in a non-JSON format, or exact source lines are part of the change.

사용 방법

  1. Paste valid JSON into Original JSON and Changed JSON, or load the sample pair.
  2. Choose Compare values and select Convert. Whitespace and property order do not create changes because both inputs are parsed first.
  3. Review each +, −, or ~ path, then copy or download the comparison.

실제 입출력 예시

A changed scalar and an appended array item

입력

Original: {"version":1,"tags":["local"]}
Changed:  {"version":2,"tags":["local","fast"]}

출력

~ $.version: 1 → 2
+ $.tags[1] = "fast"

The comparison follows parsed object keys and array indexes, so indentation changes alone produce no result.

일반적인 오류와 해결 방법

현상가능한 원인해결 방법
The output is empty and the page reports a JSON parse error.One input contains invalid JSON such as a trailing comma or an unquoted key.Validate both documents first and correct the reported syntax before comparing them.
A reordered array produces several changes.Array positions are significant; the tool does not match moved objects by an ID field.Sort arrays by a stable key before comparing when order should not matter.

Important behavior of JSON Diff

이 도구의 구체적인 제한: Array order remains significant, so moved items appear as changes.

표준 및 구현 참고 자료

JSON Diff — FAQ

Does the JSON Diff upload my input?

No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.

What input does the JSON Diff accept?

It accepts two valid JSON documents. The workspace checks the input and reports malformed or unsupported values before it produces a result.

What does the JSON Diff produce?

It produces path-based additions, removals, and changed values. Copy and download controls appear when the output format supports them.

What limitation should I know?

Array order remains significant, so moved items appear as changes.

변경 사항

실질적인 업데이트: JSON Diff: Added Structural JSON comparison, JSON path output, Array index comparison, Local parsing, responsive controls, explicit runtime disclosure, and task-specific examples and limitations.

이 도구의 관리자

KL
KitLumi EngineeringKitLumi Engineering이 동작, 테스트, 예제 및 개인정보 설명을 관리합니다.