diff options
author | Sacha Chua <sacha@sachachua.com> | 2020-10-22 00:49:30 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2020-10-22 00:51:38 -0400 |
commit | 6738dce6a99f3863b5257e08a1af997349eb134d (patch) | |
tree | 67286dcb7ea3294939aed15d5a97fc083f59322c /2020/schedule/25.md | |
parent | e6b56c75ed02029e4651fbe0aefaa3aaf0074bbb (diff) | |
download | emacsconf-wiki-6738dce6a99f3863b5257e08a1af997349eb134d.tar.xz emacsconf-wiki-6738dce6a99f3863b5257e08a1af997349eb134d.zip |
First try at schedule
Diffstat (limited to '2020/schedule/25.md')
-rw-r--r-- | 2020/schedule/25.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/2020/schedule/25.md b/2020/schedule/25.md new file mode 100644 index 00000000..02a24acb --- /dev/null +++ b/2020/schedule/25.md @@ -0,0 +1,33 @@ +# Traverse complex JSON structures with live feedback +Sunday, Nov 29 2020, 11:12 AM - 11:22 AM +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. + + + + +Back to the [[schedule]] + +All times are approximate, and we might shuffle talks around as needed. Please check https://emacsconf.org/2020 a few days before the start of the conference for instructions on how to watch and participate. +<!-- automatically generated from submissions.org ---> +[[!meta title="Traverse complex JSON structures with live feedback"]] |