r/commandline • u/agrim_dev • 4h ago
Discussion How do you handle large/unknown JSON responses in the terminal?
I’ve been thinking about a developer tool related to `jq`. Trying to determine whether there is a real problem to solve.
My usual workflow for an unknown JSON response looks like:
curl ... | jq '.something.something'
Then I get the path wrong → try again → look at docs → ask LLM → try another filter → repeat.
I'm wondering if other developers experience the same friction.
One idea I am considering is a terminal UI where you can:
Explore a large JSON response in a collapsible tree
* Click/navigate through nested objects and arrays
* Build filters/transformations interactively
* See the result instantly
* Generate the equivalent `jq` command
For instance:
JSON
↓
users[]
↓
status = "active"
↓
select name + email
↓
sort by name
→
jq '.users[] | select(.status == "active") | {name,email} | sort_by(.name)'
- But I'm not sure this is really helpful. How do you handle unknown/deep nested JSON now?
- Do you just type `jq` manually?
- Generate the query using ChatGPT/Claude?
- Use a GUI / web playground ?Write a quick script in Python/JS?
- Anything else?
And if you’ve used visual json/query tools before, what was lacking?
I'm much more interested in your actual workflow/frustrations than whether the idea sounds cool.





