jq to_entries opposite code example
Example 1: jq select
$ jq '.[] | select(.location=="Stockholm")' json
{
"location": "Stockholm",
"name": "Walt"
}
{
"location": "Stockholm",
"name": "Donald"
}
Example 2: jq delete element from array
del(
.Array[1,3,5,11]
)