Skip to content

Poseima/JsonSwag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JsonSwag

A native macOS SwiftUI app for viewing large JSONL and JSON files with smooth scrolling and VSCode-style search.

Features

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

Supported File Types

  • .jsonl - JSON Lines files (one JSON object per line)
  • .json - Regular JSON files (objects or arrays)

Requirements

  • macOS 14.0 or later
  • Xcode 15+ (for building from source)

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

Usage

  1. Open a .json or .jsonl file by dragging it to the app or using File → Open
  2. For JSONL: Scroll through records smoothly - only visible records are rendered
  3. For JSON: View the entire structure as an expandable tree
  4. Press Cmd+F to open the search bar
  5. Click the expand button (⌄) to expand all nested fields
  6. Click the copy button to copy any value to clipboard

License

MIT License

About

A native macOS SwiftUI app for viewing large JSONL files with smooth scrolling and VSCode-style search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages