{"id":51594473,"url":"https://github.com/vitorhugo-dotnet/pyjsonviewer","last_synced_at":"2026-07-11T17:02:44.786Z","repository":{"id":337724499,"uuid":"1067410525","full_name":"vitorhugo-dotnet/pyJsonViewer","owner":"vitorhugo-dotnet","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-30T16:27:41.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-06T18:20:37.552Z","etag":null,"topics":["json","python","viewer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitorhugo-dotnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T20:23:13.000Z","updated_at":"2026-04-22T00:39:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vitorhugo-dotnet/pyJsonViewer","commit_stats":null,"previous_names":["vitorhugo-java/pyjsonviewer","vitorhugo-dotnet/pyjsonviewer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/vitorhugo-dotnet/pyJsonViewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugo-dotnet%2FpyJsonViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugo-dotnet%2FpyJsonViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugo-dotnet%2FpyJsonViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugo-dotnet%2FpyJsonViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitorhugo-dotnet","download_url":"https://codeload.github.com/vitorhugo-dotnet/pyJsonViewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugo-dotnet%2FpyJsonViewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35368768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","python","viewer"],"created_at":"2026-07-11T17:02:43.257Z","updated_at":"2026-07-11T17:02:44.772Z","avatar_url":"https://github.com/vitorhugo-dotnet.png","language":"Python","funding_links":["https://www.buymeacoffee.com/vitorhugo1207","https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=vitorhugo1207\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff"],"categories":[],"sub_categories":[],"readme":"# pyJsonViewer\n\nA beautiful, cross-platform JSON viewer and editor built with Python and PyQt5.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/vitorhugo1207\"\u003e\n    \u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=vitorhugo1207\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Features\n\n✨ **Beautiful Interface** - Modern, clean UI with syntax highlighting and tree view\n📂 **File Operations** - Open, edit, and save JSON files\n📋 **Clipboard Support** - Paste and view JSON directly from clipboard\n🌳 **Tree View** - Hierarchical view of JSON structure with expandable nodes\n📝 **Raw JSON View** - Formatted JSON text with editing capabilities\n🔄 **Auto-formatting** - Automatically format and validate JSON\n🖥️ **Cross-platform** - Works on Linux and Windows\n⚡ **High Performance** - Lazy loading handles large JSON files efficiently (1+ MB)\n\n## Installation\n\n### Prerequisites\n\n- Python 3.6 or higher\n- pip (Python package installer)\n\n### Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\nOr install PyQt5 directly:\n\n```bash\npip install PyQt5\n```\n\n## Usage\n\n### Run the Application\n\n```bash\npython json_viewer.py\n```\n\nOr make it executable (Linux/Mac):\n\n```bash\nchmod +x json_viewer.py\n./json_viewer.py\n```\n\n### Features Guide\n\n#### Opening JSON Files\n- Click \"Open File\" button or use `File \u003e Open` (Ctrl+O)\n- Select a `.json` file from your system\n- The JSON will be displayed in both tree and raw views\n\n#### Editing JSON\n- Switch to the \"Raw JSON\" tab\n- Edit the JSON text directly\n- Use \"Format JSON\" (Ctrl+F) to auto-format your changes\n\n#### Saving JSON\n- Click \"Save\" button or use `File \u003e Save` (Ctrl+S) to save to current file\n- Use `File \u003e Save As` (Ctrl+Shift+S) to save to a new file\n\n#### Using Clipboard\n- Copy JSON text to your clipboard\n- Click \"Paste from Clipboard\" or use `Edit \u003e Paste from Clipboard` (Ctrl+V)\n- The JSON will be parsed and displayed\n\n#### Tree View\n- View JSON structure in a hierarchical tree\n- Expand/collapse nodes to navigate complex JSON\n- See key-value pairs and data types\n\n#### Raw JSON View\n- View and edit JSON as formatted text\n- Monospace font for better readability\n- Syntax validation on save\n\n## Keyboard Shortcuts\n\n- `Ctrl+O` - Open file\n- `Ctrl+S` - Save file\n- `Ctrl+Shift+S` - Save as new file\n- `Ctrl+V` - Paste from clipboard\n- `Ctrl+F` - Format JSON\n- `Ctrl+Q` - Exit application\n\n## Performance\n\npyJsonViewer is optimized for handling large JSON files:\n\n- **Lazy Loading**: Tree view items are loaded on-demand when you expand nodes\n- **Fast Initial Load**: Only top-level items are created initially\n- **Responsive UI**: No freezing or lag when opening large files\n- **Memory Efficient**: Handles files over 1MB without issues\n- **99%+ Reduction**: In initial tree items compared to full recursive loading\n\nPerfect for viewing large API responses, configuration files, or data exports!\n\n## Screenshots\n\nThe application features:\n- Clean, modern interface with green accent color\n- Two-tab layout for different views\n- Toolbar for quick access to common actions\n- Status bar for feedback messages\n\n## Platform Support\n\n### Linux\nFully supported. Install PyQt5 via pip or your distribution's package manager:\n- Ubuntu/Debian: `sudo apt-get install python3-pyqt5`\n- Fedora: `sudo dnf install python3-qt5`\n- Arch: `sudo pacman -S python-pyqt5`\n\n### Windows\nFully supported. Install PyQt5 via pip:\n```bash\npip install PyQt5\n```\n\n### macOS\nShould work but not specifically tested. Install PyQt5 via pip:\n```bash\npip install PyQt5\n```\n\n## Example JSON Files\n\nCreate a test JSON file to try the viewer:\n\n```json\n{\n  \"name\": \"John Doe\",\n  \"age\": 30,\n  \"email\": \"john@example.com\",\n  \"address\": {\n    \"street\": \"123 Main St\",\n    \"city\": \"New York\",\n    \"country\": \"USA\"\n  },\n  \"hobbies\": [\"reading\", \"coding\", \"gaming\"],\n  \"active\": true\n}\n```\n\n## Troubleshooting\n\n### PyQt5 Installation Issues\n\nIf you encounter issues installing PyQt5:\n\n1. Make sure you have Python 3.6+ installed\n2. Update pip: `pip install --upgrade pip`\n3. Try installing with: `pip install PyQt5 --user`\n\n### Display Issues on Linux\n\nIf the application doesn't display properly:\n- Install Qt platform plugins: `sudo apt-get install qt5-default`\n- Set environment variable: `export QT_QPA_PLATFORM=xcb`\n\n## License\n\nMIT License - See LICENSE file for details\n\n## Contributing\n\nContributions are welcome! Feel free to:\n- Report bugs\n- Suggest new features\n- Submit pull requests\n\n## Author\n\nVitor Hugo\n\n## Acknowledgments\n\nBuilt with:\n- Python 3\n- PyQt5\n- Standard JSON library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorhugo-dotnet%2Fpyjsonviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitorhugo-dotnet%2Fpyjsonviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorhugo-dotnet%2Fpyjsonviewer/lists"}