An interactive tool for viewing, exploring, and searching through complex JSON data structures.
- Collapsible tree view for nested JSON structures
- Syntax highlighting for different data types (strings, numbers, booleans, null)
- Error reporting for invalid JSON input
- Search through both keys and values in your JSON data
- Navigate through search results with Previous/Next buttons
- Automatic expansion of parent nodes when navigating search results
- Visual highlighting of the current search result
- Auto-scrolling to keep the current result in view
- Expand/collapse individual nodes
- "Open Similar" and "Close Similar" functionality to bulk expand/collapse nodes with similar structure
- Dark mode support for comfortable viewing in any environment
# Clone the repository
git clone https://github.com/yourusername/json-viewer.git
# Navigate to the project directory
cd json-viewer
# Install dependencies
npm install
# Start the development server
npm startOpen http://localhost:3000 to use the application in your browser.
- Paste your JSON data into the text area
- The formatted JSON will appear below with collapsible sections
- Use the search box to find specific content
- Navigate through results with the Previous/Next buttons
- Toggle between light and dark mode with the theme button
- React
- TypeScript
- Tailwind CSS
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
