2026-07-23 13:23 UTC
The syntaxes jq uses for extracting an object’s keys, values, and entries are confusingly dissimilar. One of them is not like the others. A brief note with examples. https://ddbeck.com/notes/jq-object-entries-keys-and-values
Replies (1)
-
@wader@fosstodon.org 2026-07-23 14:55
@ddbeck@mastodon.social mm sadly a bit inconsistent :( to get values in keys order you can do [.[keys[]]] :blobcatgrimacing: