A native macOS SwiftUI app for viewing large JSONL and JSON files with smooth scrolling and VSCode-style search.
- 📂 Large File Support - Lazy loading for smooth scrolling even with massive JSONL files
- 📋 JSON File Support - View single JSON objects or arrays as beautiful expandable trees
- 🔍 VSCode-style Search - Cmd+F opens search bar with regex, case-sensitive, and whole-word options
- 📑 Multi-tab Support - Open multiple files in tabs
- 📋 Copy to Clipboard - One-click copy for any JSON value
- ⬇️ Deep Expand/Collapse - Expand all nested fields to deepest level in one click
.jsonl- JSON Lines files (one JSON object per line).json- Regular JSON files (objects or arrays)
- macOS 14.0 or later
- Xcode 15+ (for building from source)
# Clone the repository
git clone https://github.com/Poseima/JsonSwag.git
cd JsonSwag
# Build
xcodebuild -project JsonSwag.xcodeproj -scheme JsonSwag -configuration Debug build
# Run
open ~/Library/Developer/Xcode/DerivedData/JsonSwag-*/Build/Products/Debug/JsonSwag.app- Open a
.jsonor.jsonlfile by dragging it to the app or using File → Open - For JSONL: Scroll through records smoothly - only visible records are rendered
- For JSON: View the entire structure as an expandable tree
- Press
Cmd+Fto open the search bar - Click the expand button (⌄) to expand all nested fields
- Click the copy button to copy any value to clipboard
MIT License