Open JSON files in the JSON Viewer web app directly from VS Code.
Features
Open in JSON Viewer: Right-click any .json file → "Open in JSON Viewer"
Keyboard shortcut: Ctrl+Shift+J / Cmd+Shift+J
Auto-sync: The viewer updates when you switch to a JSON file or save
Two-way sync: Edits made in the viewer (format, fix, transform) sync back to VS Code
Requirements
Internet connection required (app is hosted at GitHub Pages).
Usage
Open a .json file in VS Code
Right-click in the editor → "Open in JSON Viewer"
— or use Ctrl+Shift+J (Windows/Linux) / Cmd+Shift+J (macOS)
— or run the command JSON Viewer: Open in JSON Viewer from the Command Palette
The JSON Viewer opens as a side panel
Building
cd vscode-extension
npm install
npm run compile
# To package:
npm run package # creates json-viewer-vscode-1.0.0.vsix