A simple and interactive web application for viewing and formatting JSON data. Users can fetch JSON from a URL, upload a JSON file, or paste JSON directly into the application. The viewer supports both tree and formatted views and allows users to toggle between dark and light themes.
- Fetch JSON from URL: Input a URL to fetch JSON data.
- Upload JSON File: Upload a local JSON file for viewing.
- Paste JSON: Directly paste JSON data into a text area.
- Dark and Light Mode: Toggle between dark and light themes for better readability.
- Tree and Formatted View: Switch between a collapsible tree view and a formatted text view.
- Copy and Download: Copy the displayed JSON to the clipboard or download it as a file.
- Error Handling: Informative error messages for invalid URLs, files, or JSON data.
- HTML - Structure and layout of the application.
- CSS - Styling and layout design.
- JavaScript - Functionality for JSON parsing, theme toggling, and user interactions.
- Font Awesome - Icons used for theme toggle and other actions.
Clone the repository to your local machine by running the following command in your terminal or command prompt:
Open index.html
in your browser That's it! No build process or server required.
Feel free to fork the repository, create issues, and submit pull requests. Contributions are always welcome! Please follow the standard GitHub guidelines for submitting code or suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.