# vscode-json-tree-view **Repository Path**: unknowIfGuestInDream/vscode-json-tree-view ## Basic Information - **Project Name**: vscode-json-tree-view - **Description**: Provides a visual tree view for browsing, searching, and querying JSON files using JSONata. - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://github.com/tlcsdm/vscode-json-tree-view - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-01 - **Last Updated**: 2026-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: VSCode, vscode-plugin, JSON ## README # JSON Tree Viewer A VS Code extension for JSON file visualization. Provides a visual tree view for browsing, searching, and querying JSON files using JSONata. ## Features - ๐ŸŒณ **Visual tree navigation** of JSON data with expand/collapse support - ๐Ÿ” **Search** with next/previous match navigation - ๐Ÿ” **Query and Transform** with JSONata expressions - ๐ŸŽฏ **Copy Value** - Unescape JSON strings within JSON payload (Right Click + Copy Value) - ๐Ÿ“ **Locate in File** - Right-click a tree node and jump to its location in the source editor - ๐Ÿ” **JSON5 support** - View JSON5 files - ๐Ÿ” **Auto-refresh** on file save - ๐ŸŒ **Internationalization** - English, Chinese, Japanese ## Preview See the extension in action: JSON Tree Viewer extension screenshot ## Installation ### From VS Code Marketplace Search for `tlcsdm-json-tree-view` in the VS Code Extensions panel. ### From VSIX File 1. Download the `.vsix` file from the [Releases](https://github.com/tlcsdm/vscode-json-tree-view/releases) page 2. In VS Code, go to Extensions โ†’ ยทยทยท โ†’ Install from VSIX ### From Jenkins Download from [Jenkins](https://jenkins.tlcsdm.com/job/vscode-plugin/job/vscode-json-tree-view/) ## Usage ### Open JSON Tree View 1. Open a JSON, JSONC, or JSON5 file in VS Code 2. Click the tree icon in the editor title bar, or: - Use keyboard shortcut `Ctrl+Shift+J` (`Cmd+Shift+J` on macOS) - Right-click in the editor โ†’ "Open JSON Tree View" - Right-click a JSON file in the Explorer โ†’ "Open JSON Tree View" - Run the command `JSON Tree View: Open JSON Tree View` from the Command Palette ### Search Use the search bar at the bottom of the tree view to find content. Navigate between matches with the โ†‘/โ†“ buttons or Enter/Shift+Enter. ### JSONata Query Enter a JSONata expression in the input field at the bottom to query and transform the JSON data. For a comprehensive guide on JSONata expressions, see the [JSONata Expression Guide](docs/jsonata-guide.md). ### Copy Value Right-click any node in the tree to copy its key or value (unescaped). ### Locate in File Right-click any node in the tree and choose **Locate in File** to jump to that node in the JSON source editor. ## Keyboard Shortcuts | Shortcut | Description | |----------|-------------| | `Ctrl+Shift+J` (`Cmd+Shift+J` on macOS) | Open JSON Tree View (when editing a JSON file) | ## Configuration | Setting | Default | Description | |---------|---------|-------------| | `tlcsdm.jsonTreeView.autoRefresh` | `true` | Automatically refresh the tree view when the JSON file is saved | ## Development ```bash # Install dependencies npm install # Compile npm run compile # Watch mode npm run watch # Lint npm run lint # Package extension npm run package ``` ## License [MIT](LICENSE) ## Contributing Contributions are welcome! Please open an issue or submit a pull request.