Skip to content

v0.4.1

Choose a tag to compare

@nujufas nujufas released this 20 Sep 13:04
· 11 commits to master since this release

Polish release: one Source field replaces the toolbar's Open buttons, and jq autocomplete and colour-coding now understand pipes and nested calls.

Changed

  • Source field — the toolbar's Open File…, Open URL… and Clear buttons (and the Open URL popup) are now one row: Source: [type or paste a URL or path] […] [Load] [Clear]. Load (or Enter) downloads an http(s):// address and opens anything else as a local path; a leading ~ expands to your home directory and one pair of surrounding quotes is stripped, so a "Copy as path" paste just works. … browses for a file and loads it straight away. The field names whatever is loaded; pasted JSON leaves it empty with a (pasted JSON) note beside it, and a failed load keeps your text so you can correct it.

Improved

  • jq autocomplete follows pipes and calls — inside .members | map(select(. it now offers each member's fields instead of nothing. Where it can't tell what . refers to (a function it doesn't know, reduce, |=, a string), it offers nothing rather than the wrong fields. jq only, and still off by default — turn it on with the 💡 toolbar button.
  • Colour-coded query box tints nested calls — in map(select(.active) | .name) the inner select(.active) now has its own tint, and a call's closing bracket takes the same tint as its opener. The tutorial tints closing brackets too.

Downloads

  • Linux: jsonquery_gui-0.4.1-linux-x86_64.tar.gz (plain binary) or jsonquery_gui-0.4.1-x86_64.AppImage (self-integrating, desktop-pinnable)
  • Windows: jsonquery_gui-0.4.1-windows-x86_64.zip (cross-compiled) or build build\windows.bat natively
  • Snap: sudo snap install jsonquery-gui
  • Homebrew (Linux): brew tap nujufas/jsonquery-gui && brew install jsonquery-gui

See README for usage and known limitations.