JSON output is inconsistent
Closed this issue · 2 comments
krisajenkins commented
It seems that if you call any quix ... list --output json
function, it will return an array of objects in every case except when there's one result. For a single result it unwraps the array and returns an object.
That inconsistency makes it harder to use the JSON output in tools without additional checking. I'd like it if the output for a quix ... list
command was always an array, regardless of the number of elements.
luisquix commented
We are aware of this issue, we'll get it fixed on the next release.
Thanks for your feedback.
luisquix commented
This issue has been fixed.