1. 홈
  2. 개발자
  3. JSON 그래프 뷰어·JSONPath 탐색기

JSON 그래프 뷰어·JSONPath 탐색기

JSON·YAML·XML을 노드 그래프와 트리로 시각화하고 JSONPath로 즉시 탐색합니다.

내 브라우저에서 처리 · 업로드 없음
- ${1}$.store (JSONPath 복사)store:Object{5}- store{5}$.store.name (JSONPath 복사)name:"툴루라 스마트샵"$.store.currency (JSONPath 복사)currency:"KRW"$.store.open (JSONPath 복사)open:true$.store.products (JSONPath 복사)products:Array[4]$.store.shipping (JSONPath 복사)shipping:Object{3}- products[4][0]{5}$.store.products[0].id (JSONPath 복사)id:"P-101"$.store.products[0].title (JSONPath 복사)title:"스테인리스 텀블러"$.store.products[0].category (JSONPath 복사)category:"주방"$.store.products[0].price (JSONPath 복사)price:24000$.store.products[0].inStock (JSONPath 복사)inStock:true[1]{5}$.store.products[1].id (JSONPath 복사)id:"P-102"$.store.products[1].title (JSONPath 복사)title:"무선 버티컬 마우스"$.store.products[1].category (JSONPath 복사)category:"전자"$.store.products[1].price (JSONPath 복사)price:49000$.store.products[1].inStock (JSONPath 복사)inStock:true[2]{5}$.store.products[2].id (JSONPath 복사)id:"P-103"$.store.products[2].title (JSONPath 복사)title:"접이식 노트북 거치대"$.store.products[2].category (JSONPath 복사)category:"전자"$.store.products[2].price (JSONPath 복사)price:18500$.store.products[2].inStock (JSONPath 복사)inStock:false[3]{5}$.store.products[3].id (JSONPath 복사)id:"P-104"$.store.products[3].title (JSONPath 복사)title:"방수 데스크 매트"$.store.products[3].category (JSONPath 복사)category:"오피스"$.store.products[3].price (JSONPath 복사)price:12000$.store.products[3].inStock (JSONPath 복사)inStock:true- shipping{3}$.store.shipping.freeOver (JSONPath 복사)freeOver:30000$.store.shipping.express (JSONPath 복사)express:true$.store.shipping.regions (JSONPath 복사)regions:Array[3]regions[3]$.store.shipping.regions[0] (JSONPath 복사)[0]:"서울"$.store.shipping.regions[1] (JSONPath 복사)[1]:"경기"$.store.shipping.regions[2] (JSONPath 복사)[2]:"부산"
다른 도구에서 이어서 작업서버 전송 없이 현재 파일을 바로 엽니다

JSON 그래프 뷰어 및 JSONPath 탐색기 소개

복잡하게 중첩된 API 응답이나 설정 파일(JSON, YAML, XML)은 텍스트로만 보면 구조를 파악하기 어렵습니다. JSON 그래프 뷰어는 입력한 데이터를 좌우 계층형 인터랙티브 SVG 노드 그래프와 접기 가능한 트리로 즉시 시각화하고, 안전한 JSONPath 쿼리 엔진으로 원하는 필드를 실시간 필터링해 줍니다.

주요 기능과 지원 문법

기능 설명
JSON · YAML · XML 멀티 포맷 JSON, YAML(js-yaml), XML 파일을 자동 감지해 동일한 노드 그래프와 트리로 시각화 (최대 5 MB, 64단계 안전 파싱)
인터랙티브 SVG 노드 그래프 드래그 이동(Pan), 확대·축소(Zoom), 노드 클릭 접기·펼치기, 타입별 색상 구분(문자열·숫자·불리언·null)
원클릭 JSONPath 경로 복사 그래프의 각 행이나 트리 항목을 클릭하면 표준 JSONPath($.store.products[0].price)를 즉시 클립보드에 복사
안전한 JSONPath 필터 쿼리 루트($), 재귀 탐색(..), 와일드카드(*), 배열 슬라이스([0:5]), 유니온([0,2]), 필터 조건식([?(@.price < 30000 && @.inStock == true)]) 실시간 하이라이트
SVG · 2x PNG · JSON 내보내기 라이트·다크 테마의 벡터 SVG, 2배 고해상도 PNG, 정리된 JSON 또는 JSONPath 일치 결과 JSON 저장
로컬 프로젝트 자동 저장 편집 중인 데이터와 쿼리를 브라우저 로컬 저장소에 자동 저장하며 스튜디오 단위 격리 삭제 지원

JSONPath 쿼리 활용 예시

  • $.store.products[*].title: 모든 상품 제목 추출
  • $..price: 깊이에 상관없이 문서 내 모든 price 값 재귀 검색
  • $.store.products[?(@.price < 30000 && @.inStock == true)]: 가격과 재고 조건을 동시에 만족하는 객체 필터링
  • $.store.products[0:2]: 배열 앞쪽 2개 요소만 슬라이스 추출

그래프나 트리에서 추출한 데이터는 하단의 이어 편집 막대를 통해 JSON 비교, JSON TypeScript 변환, JSON 표로 보기, SQL 워크벤치로 바로 넘겨 후속 작업을 이어갈 수 있습니다.

자주 묻는 질문

대용량 JSON 파일을 넣어도 브라우저가 멈추지 않나요? 안정적인 화면 렌더링을 위해 시각 그래프는 최대 1,200개 노드로 안전하게 제한하며, JSONPath 쿼리는 1,200개 이후 노드를 포함한 전체 문서에 대해 정확하게 실행됩니다.

민감한 운영 API 응답이나 설정 파일을 넣어도 안전한가요? 모든 파싱, JSONPath 평가, SVG 및 PNG 렌더링은 100% 사용자 브라우저 안에서만 실행되며 입력 데이터는 외부 서버로 절대 전송되지 않습니다.

필요한 도구가 없나요?

어떤 작업을 하고 싶은지 적어 주세요. 요청이 많은 도구부터 만듭니다.