Skip to content

hrhrng/super-json

Repository files navigation

๐Ÿš€ Super JSON Editor

Super JSON Editor Version License

The Ultimate Multi-Layer Escaped JSON Editor - Parse, Edit, and Rebuild Complex Nested JSON with Ease! ๐ŸŽฏ

Try It Now

Report Bug | Request Feature


โœจ What Makes It Super?

Ever struggled with deeply nested, escaped JSON strings? Like this nightmare:

{
  "config": "{\"settings\":{\"theme\":\"dark\",\"nested\":\"{\\\"level3\\\":{\\\"deep\\\":\\\"{\\\\\\\"level4\\\\\\\":\\\\\\\"final\\\\\\\"}\\\"}}\"}}"
}

Super JSON Editor transforms it into beautiful, editable layers! ๐ŸŽจ

Super JSON Editor Interface

Clean and intuitive interface with multi-layer JSON parsing

๐Ÿ“ธ See It In Action

Multi-layer JSON Editing

Navigate through complex nested JSON layers with ease

๐Ÿ”ฅ Features That Will Blow Your Mind

๐ŸŽฏ Three Powerful Modes

๐Ÿ” LAYER Mode - Multi-Layer JSON Editor

  • Smart Analysis - Automatically detects and parses infinite layers of escaped JSON
  • Interactive Breadcrumb - Navigate through JSON layers with visual hierarchy
  • Bidirectional Sync - Changes in any layer automatically sync across parent/child layers
  • Real-time Validation - Instant JSON validation with error notifications
  • Multi-Document Tabs - Work on multiple JSON documents simultaneously

๐Ÿ”ง TOOLS Mode - JSON Processor

  • Format & Minify - Beautiful formatting or compact minification
  • Escape & Unescape - Handle escaped JSON strings with ease
  • Base64 Encode/Decode - Convert JSON to/from Base64
  • URL Encode/Decode - Make JSON URL-safe
  • Sort Keys - Alphabetically sort all object keys
  • Apply to Input - Instantly apply processed output back to input

๐Ÿฆธ HERO Mode - Visual JSON Explorer

  • JSON Hero Integration - Visualize JSON structure with JSON Hero
  • Interactive Preview - Explore your JSON in a beautiful interface
  • Share & Collaborate - Generate shareable links for your JSON
  • Open in New Tab - Full JSON Hero experience in a new window

๐ŸŽฎ Quick Start

Online Version (Recommended)

Just open https://hrhrng.github.io/super-json - No installation needed! ๐ŸŽ‰

Local Setup

# Clone the repository
git clone https://github.com/hrhrng/super-json.git

# Navigate to the directory
cd super-json

# Install dependencies
npm install

# Start development server
npm run dev
# then visit http://localhost:3000/super-json/

# Or build for production
npm run build
npm run preview

๐ŸŽฏ Use Cases

Perfect for:

  • ๐Ÿ”ง API Development - Debug complex API responses
  • ๐Ÿ—„๏ธ Database Management - Edit JSON columns with nested data
  • ๐Ÿ“Š Data Processing - Clean and transform multi-layer JSON
  • ๐Ÿ” Debugging - Understand complex JSON structures
  • ๐Ÿ“ Configuration Files - Manage nested config files

๐Ÿ—๏ธ How It Works

LAYER Mode Workflow

graph LR
    A[Input JSON] --> B[Parse Button]
    B --> C[Layer Detection]
    C --> D[Interactive Breadcrumb]
    D --> E[Edit Any Layer]
    E --> F[Auto-Sync All Layers]
    F --> G[Apply Button]
    G --> A
Loading
  1. Paste your nested/escaped JSON into the input panel
  2. Click "Parse" to analyze and detect all layers
  3. Navigate through layers using the interactive breadcrumb
  4. Edit any layer - changes auto-sync to related layers
  5. Click "Apply" to update the input with your changes

TOOLS Mode Workflow

  1. Input your JSON in the left panel
  2. Select any processing tool (Format, Escape, Base64, etc.)
  3. View the processed result in the output panel
  4. Apply the result back to input if needed

HERO Mode Workflow

  1. Input your JSON data
  2. Load into the embedded JSON Hero viewer
  3. Explore your data structure visually
  4. Open in new tab for full experience

๐ŸŒŸ Why Developers Love It

"Finally, a tool that understands my pain with escaped JSON!" - Developer

"This saved me hours of manual parsing!" - Backend Engineer

"The bidirectional sync is pure magic!" - Full Stack Developer

๐Ÿ› ๏ธ Tech Stack

  • React 18 - Modern reactive UI framework
  • TypeScript - Type-safe development
  • Monaco Editor - VS Code's powerful editor in your browser
  • Zustand - Lightweight state management
  • Vite - Lightning-fast build tool
  • LocalStorage API - Persistent storage without servers
  • JSON Hero API - Visual JSON exploration

๐ŸŒŸ Key Features

  • โœ… Multi-layer JSON parsing - Handle infinite nested escaped JSON
  • โœ… Three specialized modes - Layer editing, processing tools, visual exploration
  • โœ… Multi-document support - Work with multiple JSONs simultaneously
  • โœ… Auto-save - Never lose your work
  • โœ… Real-time validation - Instant error feedback
  • โœ… Bidirectional sync - Smart parent-child layer synchronization
  • โœ… JSON processing tools - Format, escape, encode, sort, and more
  • โœ… JSON Hero integration - Beautiful visualization
  • โœ… Modern dark theme - Neon-styled interface
  • โœ… Responsive design - Works on all devices

๐Ÿค Contributing

Contributions are what make the open source community amazing! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

Distributed under the MIT License. See LICENSE for more information.

๐Ÿ™ Acknowledgments

  • Monaco Editor by Microsoft
  • Inspired by the pain of debugging nested JSON
  • Built with โค๏ธ for developers by developers

๐ŸŒŸ Star us on GitHub!

If this tool saved you time, please consider giving it a star! โญ

Star This Repo

Made with โค๏ธ by developers who hate escaped JSON as much as you do!

About

Most powerful online JSON Editor. All data keep in your browser. No Ads.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages