JQ
Filter and transform JSON request and response bodies in Proxyman with jq in the JSON and Treeview tabs. Learn how to open the JSON tab and use jq.
1. What's it?
- jq is a small language for JSON data. It works like sed does for text: you can slice, filter, map, and transform JSON data.
- Available on Proxyman 5.24.0 or later
tip
- You can use the jq filter in the JSON tab and the Treeview tab. To add the JSON tab, click the + button on the Request or Response toolbar and select JSON.
![Proxyman Treeview tab in jq mode with .slideshow.slides[] | {title, type} returning the title and type of each slide](/docs/assets/proxyman-treeview-jq.jpg)
Filter JSON with jq
2. Syntax
- Read the jq manual to learn how to write jq filters.
- You can also use jq to create a custom column from a JSON body.