At the moment, the validator only seems to emit json if the output is directed to a file. This issue is to propose not generating the formatted validation report and only emitting the JSON output when a --format different from text is specified (e.g., --format json). Moreover, the JSON output should be directed to stdout by default, or alternatively to any valid destination file specified with -o.
At the moment, the validator only seems to emit json if the output is directed to a file. This issue is to propose not generating the formatted validation report and only emitting the JSON output when a
--format
different fromtext
is specified (e.g.,--format json
). Moreover, the JSON output should be directed to stdout by default, or alternatively to any valid destination file specified with-o
.