Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

119 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nonstop Logo

JSON Viewer

Transform complex JSON data into beautiful, interactive visualizations

Live at Built with React TypeScript Tailwind CSS

About NonStop • Our Website • Try the App


🚀 What is JSON Viewer?

A modern, intuitive JSON viewer that transforms complex JSON data into a visually appealing, easily navigable interface. Perfect for developers, data analysts, and anyone working with JSON data.

✨ Features

🔧 Core Functionality

Feature Description
🧠 Smart JSON Parsing Real-time syntax validation with clear error messages
🌳 Interactive Tree View Collapsible/expandable nodes with smooth animations
🕸️ Graph Visualizer See JSON as an interactive node graph — pan, zoom, fit, rotate layout, collapse, search, and export as PNG
📥 Multiple Input Methods Paste, upload, or drag & drop JSON files
🔍 Advanced Search Global search with real-time highlighting and navigation
🎨 Theme Support Dark/light/system theme with automatic detection
📋 Copy Functionality Copy values and JSON paths with one click
🖥️ Fullscreen Mode Native browser fullscreen for immersive JSON viewing
🔗 Deep Links Open the tool with JSON already loaded — link it from any app, CLI, or dashboard

📸 Screenshots


🚀 Getting Started

📋 Prerequisites

  • 📦 Node.js 16+
  • 🔧 npm or yarn

⚡ Quick Start

# 1️⃣ Clone the repository
git clone <repository-url>
cd json-viewer

# 2️⃣ Install dependencies
npm install

# 3️⃣ Start development server
npm run dev

🏗️ Build for Production

# Build the application
npm run build

# Preview the build
npm run preview

🌐 Live at

Visit our hosted version at json.nonstopio.com to try it out instantly!

📖 How to Use

Step Action Description
1️⃣ Input JSON Paste JSON directly, upload a .json file, or drag & drop
2️⃣ Explore Click to expand/collapse nodes, use search to find specific keys/values
3️⃣ Visualize Open the Visualizer tab to see JSON as an interactive node graph
4️⃣ Fullscreen Click the maximize button for immersive viewing experience
5️⃣ Copy Hover over nodes to copy values or JSON paths
6️⃣ Customize Toggle between light/dark themes or use system preference
7️⃣ Share Hit Copy link to get a URL that reopens this exact JSON

🔗 Deep Links

Open the viewer with a document already loaded — from a dashboard button, a CLI, a log viewer, or a bot. Nothing is uploaded; the JSON is encoded and decoded entirely in the browser.

<script src="https://json.nonstopio.com/open.js"></script>
<button onclick="openInJsonViewer(response)">View JSON</button>
https://json.nonstopio.com/#data=<compacted-json>   inline, up to ~30KB of JSON
https://json.nonstopio.com/?data=clipboard          larger documents, by clipboard
https://json.nonstopio.com/#data=<...>&view=graph   land on a specific tab

Full contract, producer snippets for browser/Node/shell, and the privacy notes: docs/DEEP_LINKS.md.

⌨️ Keyboard Shortcuts

Shortcut Action
Ctrl+Enter / Cmd+Enter Parse JSON
Ctrl+F / Cmd+F Open search
Enter Next search result
Shift+Enter Previous search result
Escape Clear search / Exit fullscreen

🛠️ Technology Stack

Category Technology
🎨 Frontend React 18 + TypeScript
💄 Styling Tailwind CSS with custom components
🎭 Icons Lucide React
⚡ Build Tool Vite
🚀 Deployment Hosted at json.nonstopio.com

🏗️ Architecture

📦 src/
├── 🧩 components/          # React components
├── 🪝 hooks/              # Custom React hooks
├── 📝 types/              # TypeScript type definitions
├── 🔧 utils/              # Utility functions and services
└── 🎯 App.tsx             # Main application component

🤝 Contributing

We welcome contributions! Here's how to get started:

Step Command Description
1️⃣ Fork Fork the repository on GitHub
2️⃣ git checkout -b feature/amazing-feature Create a feature branch
3️⃣ git commit -m 'Add amazing feature' Commit your changes
4️⃣ git push origin feature/amazing-feature Push to the branch
5️⃣ Open PR Open a Pull Request

Made with ❤️ by NonStop Team

Star this repo

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages