Closed pkoppstein closed 3 years ago
Unlike the case where there is no value, an empty string may have its own meaning, so I don’t intend to implement a default column name for an empty string for now.
However, the occurrence of panic is an unexpected behavior. I’ll fix it so that it handles correctly. Thanks for reporting.
In the version 1.15.2, empty key names are allowed in JSON output as well as other output formats.
As with other column names, there can only be one column with an empty key name in a table.
I see that in fact more than one column header can now be missing! Perfect. Thank you.
It's my understanding that the
-f JSON
option should output JSON, but consider:Adding the -a command-line option makes no difference.
Adding the missing column name resolves the issue, but it would be more helpful if the error message was more informative, and it would be even more helpful if a default column name were (or could be) provided.
My apologies in advance if I've missed something in the documentation.
Thank you.