3907e0d346
For commands that ask for JSON results, if the input to the Go JSON marshaller is empty, it will return a byte array with a literal "null" in it. If that is the case, we should output [] instead as at least that is valid JSON and will not break consumers of the data. Signed-off-by: baude <bbaude@redhat.com> |
||
---|---|---|
.. | ||
formats.go | ||
templates.go |