{"action":"closed","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/797","labels_url":"https://api.github.com/repos/stedolan/jq/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/797/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/797/events","html_url":"https://github.com/stedolan/jq/issues/797","id":80744710,"number":797,"title":"Is there a way to `interlace`?","user":{"login":"evandrix","id":169669,"avatar_url":"https://avatars.githubusercontent.com/u/169669?v=3","gravatar_id":"","url":"https://api.github.com/users/evandrix","html_url":"https://github.com/evandrix","followers_url":"https://api.github.com/users/evandrix/followers","following_url":"https://api.github.com/users/evandrix/following{/other_user}","gists_url":"https://api.github.com/users/evandrix/gists{/gist_id}","starred_url":"https://api.github.com/users/evandrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evandrix/subscriptions","organizations_url":"https://api.github.com/users/evandrix/orgs","repos_url":"https://api.github.com/users/evandrix/repos","events_url":"https://api.github.com/users/evandrix/events{/privacy}","received_events_url":"https://api.github.com/users/evandrix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T02:06:15Z","updated_at":"2015-05-26T02:53:02Z","closed_at":"2015-05-26T02:53:02Z","body":"Hi,\r\n\r\nI've a recent use case where, given a JSON dict, like:\r\n{\r\n   \"_id\": \"my-unique-id\",\r\n   \"k1\": [\"a\",\"b\",\"c\"],\r\n   \"k2\": [1,2,3,4],\r\n   \"k3\": \"a string value\"\r\n}\r\n\r\nI would like to use `jq` to display the length of all values in the dict which are arrays (excluding strings), together with their associated keys alongside, so something like:\r\n   k1 3\r\n   k2 4\r\n_id, and k3 are omitted, because they are strings, not arrays\r\n\r\nIs this already possible? I found the function `keys`, but that doesn't seem to help with doing this at all."}}