diff options
author | Sacha Chua <sacha@sachachua.com> | 2020-11-10 13:34:03 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2020-11-10 13:34:03 -0500 |
commit | fc01255025f3270df0f275055b3c18b1cb2d00f0 (patch) | |
tree | 5e1596af00a00e702c6619aeaf2e982afbedd39c /2020/schedule/25.md | |
parent | ae5c1f030b9c43a3ebae981bc2295bcabae5fc10 (diff) | |
download | emacsconf-wiki-fc01255025f3270df0f275055b3c18b1cb2d00f0.tar.xz emacsconf-wiki-fc01255025f3270df0f275055b3c18b1cb2d00f0.zip |
Let's try it with individual info pages that are included
Diffstat (limited to '2020/schedule/25.md')
-rw-r--r-- | 2020/schedule/25.md | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/2020/schedule/25.md b/2020/schedule/25.md index 72dc39a9..eb2a7821 100644 --- a/2020/schedule/25.md +++ b/2020/schedule/25.md @@ -5,35 +5,9 @@ Back to the [[schedule]] Previous: <a href="/2020/schedule/24">Analyze code quality through Emacs: a smart forensics approach and the story of a hack</a> Next: <a href="/2020/schedule/39">NonGNU ELPA</a> +Sunday, Nov 29 2020, 11:12 AM - 11:22 AM EST / 8:12 AM - 8:22 AM PST / 4:12 PM - 4:22 PM UTC / 5:12 PM - 5:22 PM CET / 12:12 AM - 12:22 AM +08 -# Traverse complex JSON structures with live feedback -Sunday, Nov 29 2020, 11:12 AM - 11:22 AM EST / 8:12 AM - 8:22 AM PST / 4:12 PM - 4:22 PM UTC / 5:12 PM - 5:22 PM CET / 12:12 AM - 12:22 AM +08 -Zen Monk Alain M. Lafon - -If you are working with complex nested JSON structures, you are -probably familiar with jq which is like sed for JSON data and great at -what it does. However, being a command-line tool like sed, the -feedback for writing queries and seeing their results is a discrete -process and not live. - -When working with Emacs, we are used to good auto-completion and live -feedback. Formerly, this was mostly done with static input, but with -modern completion frameworks like Ivy and Counsel, this can be done -with dynamic inputs, as well. - -counsel-jq is a package with which you can quickly test queries and -traverse a complex JSON structure whilst having live feedback. Just -call `M-x counsel-jq` in a buffer containing JSON, then start writing -your `jq` query string and see the output appear live in the message -area. Whenever you're happy, hit `RET` and the results will be -displayed to you in the buffer `*jq-json*`. - -In this lightning talk, I'll give a quick overview on how to use -counsel-jq and how to build similar completion functionality. - - - - +[[!inline pages="../info/25" raw="yes"]] Back to the [[schedule]] Previous: <a href="/2020/schedule/24">Analyze code quality through Emacs: a smart forensics approach and the story of a hack</a> |