mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #536] Feature request: live filtering of json with jq syntax #533
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @humblehacker on GitHub (Jun 29, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/536
Originally assigned to: @NghiaTranUIT on GitHub.
jqis a useful tool for filtering json. It would be a nice improvement to be able to filter down json response bodies by entering a shortjqquery string.@NghiaTranUIT commented on GitHub (Jul 2, 2020):
Hi, I suppose that when we support Scripting feature, it's good place to use
jqas your need.Basically, you can add JS script for filtering the content or Script to manipulate the Request/Response automatically.
@nunogoncalves commented on GitHub (Jul 22, 2022):
Hi. I looove proxyman already. But with jq... boy would that be awesome!! Is this on the backlog? 🥺
@NghiaTranUIT commented on GitHub (Jul 23, 2022):
@humblehacker @nunogoncalves, It looks like
jqsyntax is similar to JSONPath, which Proxyman is already supported 👍Reference: https://docs.proxyman.io/basic-features/jsonpaths
@nunogoncalves commented on GitHub (Jul 23, 2022):
Oh! That's great! Thank you!
I never worked with JSONpath. But it look like it supports my main usecase which is filtering by multiple values. :)
Not wanting to be a pain in the ass, and sound ungrateful (trust me, I'm not :D I really love Proxyman - you make a fantastic job with this), would you mind still considering adding
jqsupport? I mean, I'm much more used to it and probably there's more people out that on the same boat.@NghiaTranUIT commented on GitHub (Jul 23, 2022):
@nunogoncalves From what I understand,
jqandJSONPathare really similar. It also allows you to filter multiple values.Since it might take time to implement the native
jqlib (I did google, and unfortunately, there are no swift wrapper), I guess you should take a look at JSONPath example: https://docs.proxyman.io/basic-features/jsonpaths#path-examplesIf it still doesn't fit you, can you give me some
jqexamples? I will find a way to translate it toJSONPath. I guess it can be simpler 😄@nunogoncalves commented on GitHub (Jul 23, 2022):
I was trying with JSONPath the following example which I can't seem to transport to JSONPath. But obviously it's a tool I just started playing with and I probably only couldn't find yet.
A simple example I was trying:
Given the following json:
with the following
jqquery[.[] | { name: .name, city: .address.city.name, country: .address.country.name }]we would get:
Thank you so much for your help.
@jjmean2 commented on GitHub (Nov 19, 2024):
I’d like to upvote this feature request. I believe jq is incredibly powerful—not only for filtering JSON values but also for reshaping data. It allows users to aggregate specific values from complex JSON structures, as @nunogoncalves demonstrated.
And additionally, It would be fantastic if the filtered results from jq (or even JSONPath) could be viewed not just in the Tree View but also in the JSON Text view.
Here’s an example of using a jq filter in a REST client application named "RapidAPI" (formerly known as “Paw”).
https://github.com/user-attachments/assets/494af215-f456-4d8d-84c1-4ccc7b768e5a
It’s convenient, but it’s REST client, so I need to send requests manually to use this feature in that application. If Proxyman could support this feature, I could filter real network traffic directly within the Proxyman, which would make for an excellent user experience.
Thank you for considering this!
@nunogoncalves commented on GitHub (Aug 22, 2025):
Hi! @NghiaTranUIT did you have time change to consider this again? :) 🥺
@NghiaTranUIT commented on GitHub (Aug 22, 2025):
@nunogoncalves @jjmean2 Good news: I've successfully built jq into a static lib that I can use on macOS app.
All unit tests are passed ✅ I will implement the UI tonight and share you guys the Beta build 👍
@NghiaTranUIT commented on GitHub (Aug 22, 2025):
@nunogoncalves @jjmean2 let's try this Beta: https://download.proxyman.io/beta/Proxyman_5.23.1_Support_jq_in_TreeView_Tab.dmg
You can use the
jqin the TreeView Tab.I notice that it's hard to see the result in TREE View. I will bring this to the JSON Tab, so it can show as a text
@nunogoncalves commented on GitHub (Aug 23, 2025):
Yeah!! It works as expected. You're indeed right that it doesn't look amazing in TreeView. If you also add this in the JSON tab, will help. Very much appreciated!
Thank you very much for this! <3
@NghiaTranUIT commented on GitHub (Aug 23, 2025):
@nunogoncalves @jjmean2 @humblehacker let's try this beta build: https://download.proxyman.io/beta/Proxyman_5.23.1_Add_json_filter_to_JSON_Tabs.dmg
@nunogoncalves commented on GitHub (Aug 24, 2025):
It works as expected! 🚀
Thank you very much!
@NghiaTranUIT commented on GitHub (Aug 24, 2025):
Awesome, I will ship this feature in the next release 👍
@jjmean2 commented on GitHub (Aug 25, 2025):
Just tested it. It works great. Thanks!
@NghiaTranUIT commented on GitHub (Sep 3, 2025):
New update
@nunogoncalves-jt commented on GitHub (Feb 27, 2026):
@NghiaTranUIT I'd like to ask if it's possible to have the jq filter available in json as well. It's much more comfortable to me to using it that view. Also, it would be awesome to keep the query alive when we change the request.
Select request 1, write query A
select request 2, write query B
select request 1, apply query A
and so on… it's very useful for debugging larger json to compare related data. Otherwise I have to keep pasting queries from one to the other.
Thank you! :)
EDIT: Sorry, I just remembered that we can add a JSON column. 😅 but the memory feature request still matters :)
@NghiaTranUIT commented on GitHub (Feb 27, 2026):
You can add the JSON Tab, it will have the jq filter on the body Editor (not Tree View)
For saving the filter query, I'm working on it https://github.com/ProxymanApp/Proxyman/issues/2617