Skip to content

SayfullahSayeb/JSON-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Viewer

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.

Features

  • 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.

Technologies Used

  • 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.

Installation

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.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple and interactive web application for viewing and formatting JSON data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published