Skip to content

JSON Editor v1.6.0

Choose a tag to compare

@github-actions github-actions released this 09 Dec 13:05
· 11 commits to main since this release

JSON Editor - v1.6.0

Offline JSON editor with multiple visualisation types and real-time validation.

Installation

  1. Download json-editor-v1.6.0.zip
  2. Extract the archive
  3. Open index.html in your browser

What's New

📋 Copy/Paste Support for Collapsed Nodes

Properly duplicate and reuse collapsed JSON structures with full data preservation.

Key Features

  • Smart Copy: Copying a collapsed node ({...} or [...]) copies the full expanded content
  • Valid Paste: Pasted content is always valid JSON - no more broken structures
  • Cut Support: Cut operations also preserve and transfer full content
  • Transparent: Works automatically - no extra steps required

How to Use

  1. Collapse any object or array using the fold icon (▾ → ▸)
  2. Select the collapsed line (e.g., "settings": {...},)
  3. Copy with Ctrl+C (or Cmd+C on Mac)
  4. Paste anywhere - full expanded content appears!

Example Workflow

// Start with collapsed node:
"settings": {...},

// Copy and paste - you get the FULL content:
"settings": {
  "theme": "dark",
  "autoSave": true,
  "offline": true
},

Perfect For

  • 🔄 Duplicating complex nested structures
  • 📝 Creating templates from existing data
  • ⚡ Quick JSON scaffolding

🛠️ DevContainer Improvements

More reliable development environment setup.

Improvements

  • Auto-restart: HTTP server now starts on every reconnection
  • Better Process Management: Improved startup script reliability
  • Survives Sessions: Server persists through shell changes

Technical Details

  • Implementation: Copy/cut event handlers intercept clipboard operations
  • Data Integrity: Collapsed regions tracked with original content in memory
  • Validation: Always uses full expanded content for JSON validation
  • Export: Format and export operations work with complete data

Previous Releases

  • v1.5.0: Resizable panes with draggable divider
  • v1.4.1: Visualisation padding fixes
  • v1.4.0: Sunburst diagram visualisation
  • v1.3.0: Table View visualisation
  • v1.2.0: Drag-to-pan canvas
  • v1.1.0: JSON folding/collapsing
  • v1.0.0: Initial release

Full Changelog: v1.5.0...v1.6.0


🤖 Generated with Claude Code