3 ms·
You could take a look at jless [1], it allows interactive selections/browsing in JSON documents. [1] https://jless.io/ https://jless.io/
by eloh 4y ago
You could take a look at jless [1], it allows interactive selections/browsing in JSON documents.
[1] https://jless.io/ https://jless.io/
- anitil 4y agoDo you know a way to copy the current selection in jless to the paste buffer? I find myself narrowing down a query for jq using jless but then having to manually remember the query to then jump to my terminal.
- CodeIsTheEnd 4y agoYou can use `yq` to copy a jq-style path to currently focused node to your clipboard! (I’m the author of jless.) There are a couple other copy variants as well: https://jless.io/user-guide.html#copying https://jless.io/user-guide.html#copying
- anitil 4y agoOh fantastic thankyou! And thank you for jless! I was running 0.7.1 rather than 0.8.0, so will upgrade now Edit: Works great!