Take the following example commands and the sample command data passed to jq for comparison. The identity expression . should echo an empty array.
└─❯❯ ./kongctl get apis --output json
[]
└─❯❯ ./kongctl get apis --output json --jq '.'
null
└─❯❯ echo "[]" | jq '.'
[]
Take the following example commands and the sample command data passed to
jqfor comparison. The identity expression.should echo an empty array.