Skip to content

okaris/jsont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsont — JSON Traverse

A fast CLI for querying and exploring JSON/JSONL data. Readable SQL-like queries, built-in schema inference, and streaming support for large files.

Also available as jt (alias installed automatically).

Install

curl -fsSL i.jsont.sh | sh

Or with Go:

go install github.com/okaris/jsont/cmd/jt@latest

Quick Start

# Explore
jt data.jsonl schema             # infer types, frequency, examples
jt data.jsonl tree               # structural overview
jt data.jsonl find "error"       # full-text search
jt data.jsonl stats              # statistical summary

# Query
jt data.jsonl 'where .status == "failed"'
jt data.jsonl 'select .id, .model where .latency_ms > 1000 sort by .latency_ms desc first 10'
jt data.jsonl 'count by .model'

# Output formats
jt data.jsonl 'select .id, .status' --table
jt data.jsonl 'where .error exists' --csv > errors.csv

Both jsont and jt work identically — use whichever you prefer.

Teach it to your AI agent

npx skills add okaris/jsont

Adds the jsont skill to Claude Code (or any compatible agent), so it uses jt instead of writing throwaway scripts when working with JSON data.

See SPEC.md for the full language reference.

License

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages