mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5703] [MERGED] feat(common): use jq for JSON response filtering #5322
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5322
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5703
Author: @gerardbalaoro
Created: 12/17/2025
Status: ✅ Merged
Merged: 1/15/2026
Merged by: @jamesgeorge007
Base:
next← Head:use-jq-for-json-filter📝 Commits (2)
1d66914feat(common): use jq for JSON response filteringd89336cfix: improve jq filter UX with debouncing and better errors📊 Changes
34 files changed (+94 additions, -104 deletions)
View changed files
📝
packages/hoppscotch-common/locales/af.json(+1 -1)📝
packages/hoppscotch-common/locales/ar.json(+1 -1)📝
packages/hoppscotch-common/locales/ca.json(+1 -1)📝
packages/hoppscotch-common/locales/cn.json(+1 -1)📝
packages/hoppscotch-common/locales/cs.json(+1 -1)📝
packages/hoppscotch-common/locales/da.json(+1 -1)📝
packages/hoppscotch-common/locales/de.json(+1 -1)📝
packages/hoppscotch-common/locales/el.json(+1 -1)📝
packages/hoppscotch-common/locales/en.json(+1 -1)📝
packages/hoppscotch-common/locales/es.json(+1 -1)📝
packages/hoppscotch-common/locales/fi.json(+1 -1)📝
packages/hoppscotch-common/locales/fr.json(+1 -1)📝
packages/hoppscotch-common/locales/he.json(+1 -1)📝
packages/hoppscotch-common/locales/hu.json(+1 -1)📝
packages/hoppscotch-common/locales/id.json(+1 -1)📝
packages/hoppscotch-common/locales/it.json(+1 -1)📝
packages/hoppscotch-common/locales/ja.json(+1 -1)📝
packages/hoppscotch-common/locales/ko.json(+1 -1)📝
packages/hoppscotch-common/locales/nl.json(+1 -1)📝
packages/hoppscotch-common/locales/no.json(+1 -1)...and 14 more files
📄 Description
Closes #4067
What's Changed
jsonpath-pluswithjq-wasm(v1.1.0-jq-1.8.1) for JSON filtering.computedtocomputedAsync(jq-wasmis async-only).-- Surface actual
jqerror messages (first line of stderr).jq syntax.jqmanual.Trade-offs
Migration Guide: JSONPath → jq
$.$.name.name$.user.email.user.email$[0].[0]$[*].[]$[?(@.id == 5)].[] | select(.id == 5)$[?(@.age > 18)].[] | select(.age > 18)$[?(@.age > 18 && @.active)].[] | select(.age > 18 and .active)sort_by(.name)[.[].category] | uniqueFull jq Manual - https://jqlang.org/manual
jq Playground - https://jqplay.org
Notes to Reviewers
N/A
Summary by cubic
Switched JSON response filtering from JSONPath to jq in the JSON lens. This adds jq query support, updates the UI/help, debounces input, shows a loading state, and makes filtering async with clearer errors.
New Features
Migration
Written for commit
d89336ce55. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.