Closed DesistDaydream closed 2 years ago
The JSON format will be very useful when we put tcping in the scripts
The JSON format will be very useful when we put tcping in the scripts
The text output is easier to parse than JSON output in shell.
It is better to implement the same functionality in another language than to call it in a subprocess.
TCPING is the output after parsing struct into text. But using struct to output JSON directly is very simple. If you use other programs to process text in the Script, it will be affected by different SHELLs, which may cause abnormal result parsing.
JSON output for the CLI is not very useful