In which weekdays do we have an entry for the week 2021-07?
jq -c '.timesheet|to_entries|[.[]|.key]' jsons/2021-07.json
jq -c '.timesheet|to_entries|map(.key)' jsons/2021-07.json # <- the same as above!
|
Learning jq through a timesheet app
jq -c '.timesheet|to_entries|[.[]|.key]' jsons/2021-07.json
jq -c '.timesheet|to_entries|map(.key)' jsons/2021-07.json # <- the same as above!
|