nvim-jqx
jq
Our great sponsors
nvim-jqx | jq | |
---|---|---|
13 | 306 | |
265 | 25,063 | |
- | - | |
2.1 | 0.0 | |
about 1 year ago | 11 months ago | |
Lua | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim-jqx
-
nvim-jqx update: bug fix for yaml files + syntax highlight
nvim-jqx is your neovim interface to json and yaml files1: in the last release I have fixed a few bugs introduced by the latest changes in `yq` grammar and have added treesitter syntax highlight to the floating buffer (invoked when querying the json or yaml keys, why I had not done it before already is beyond my memory :p):
-
Share your quickfix workflow
browse json files content (nvim-jqx)
-
nvim-jqx: release v0.1.0 - browse and preview json files in neovim
As far as I know there is no other plugin at the moment that interfaces neovim with json files, and more often than not we see questions here where people suggest to reformat json files via python or some other :%!. Well, with jqx you have it all in one place, so you may find it useful: have a look at the repository and feel free to open up issues with improvements or suggestions!
-
Best way to validate and format json files.
Have you tried nvim-jqx?
-
Cannot formatting JSON with jq in Neovim on Windows
By the way, nvim-jqx can come to your rescue.
-
Vim's Filter and a Badly Formatted JSON Doc
...or you can use nvim-jqx (neovim only though) :p
- JSON path of current cursor position?
-
I love jq, I hate jq. Help a competent grepper get a grasp on the terse language!
P. S. If you are using neovim nvim-jqx is a jq wrapper that populates entries in the quickfix window. Spoiler alert: I am the author (so in this case you can shoot the messenger :p)!
-
(WIP & help wanted) yaml.nvim
Potentially related: nvim-jqx wraps around yq to populate the quickfix window with yaml keys, moreover supporting (limited) queries with autocompletion.
-
What plugins are you using and enjoying the most?
nvim-jqx
jq
-
GNU Parallel, where have you been all my life?
That should recursively list directories, counting only the files within each, and output² jsonl that can be further mangled within the shell². You could just as easily populate an associative array for further work, or $whatever. Unlike bash, zsh has reasonable behaviour around quoting and whitespace too.
¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht...
² https://github.com/jpmens/jo
³ https://github.com/stedolan/jq
- How do i edit reputation?
-
Jj: JSON Stream Editor
What I miss from jq and what is implemented but unreleased is platform independent line delimiters.
jq on Windows produces \r\n terminated lines which can be annoying when used with Cygwin / MSYS2 / WSL. The '--binary' option to not convert line delimiters is one of those pending improvements.
https://github.com/stedolan/jq/commit/0dab2b18d73e561f511801...
-
Building and deploying a web API powered by ChatGPT
If you have jq installed you can use it to make the output look nicer.
-
Search in your Jupyter notebooks from the CLI, fast.
It requires jq for JSON processing and GNU parallel for concurrent searches in the notebooks.
- Check the jq manual!
- mkv vs mp4 metadata
-
Amazon Begs Employees Not to Leak Corporate Secrets to ChatGPT
jq is your friend.
- Memes are all cool and all. But this is your daily remaining that 10000! =
-
How to export/import/externally-edit/whatever WI entries?
The jq command (https://stedolan.github.io/jq/) is useful pulling that information out.
What are some alternatives?
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
jq - Command-line JSON processor
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
yaml.nvim - 🍒 YAML toolkit for Neovim users
gojq - Pure Go implementation of jq
up - Ultimate Plumber is a tool for writing Linux pipes with instant live preview
json5 - JSON5 — JSON for Humans
lens.vim - A Vim Automatic Window Resizing Plugin
jp - Validate and transform JSON with Bash
fx - Terminal JSON viewer & processor
nushell - A new type of shell