t whether things are sorted via exit code (or status code in the
enveloped result, if you request JSON or call this utility as a Perl function).
_
schema => 'bool*',
cmdline_a
t whether things are sorted via exit code (or status code in the
enveloped result, if you request JSON or call this utility as a Perl function).
=item * B<reverse> => I<bool>
(No description)
=item
(TOTAL, AVERAGE, ETC)
TODO.
=head1 CONVERTING TO OTHER FORMATS
=head2 To CSV
TODO.
=head2 To JSON
TODO.
=head2 To Perl data structure
TODO.
=head2 To TSV
TODO.
=head2 To YAML
TODO.
=head1
| 2 |
| name | 1 |
| rank | 3 |
+------+-------+
% csv-list-field-names 1.csv --json
[
200,
"OK",
[
{
"index" : 2,
"name" : "age"
},
: [
"name",
"index"
],
"title" : "csv-list-field-names 1.csv --json"
}
]
=head1 MERGING CSV FILES
Keywords: concatenating, combining.
See also: L</SPLITTING
der (`-r`), sort case-insensitively (`-i`), or
provides the ordering example, e.g. `--by-examples-json '["a","c","b"]'`, or use
`--by-code` or `--by-sortsub`.
_
add_args => {
%App::CSVUt
(C<-r>), sort case-insensitively (C<-i>), or
provides the ordering example, e.g. C<--by-examples-json '["a","c","b"]'>, or use
C<--by-code> or C<--by-sortsub>.
This function is not exported.
Argume
data then use the "td" utility to grab the first 5 rows',
src => '[[prog]] file.csv --json | td head -n5',
src_plang => 'bash',
test => 0,
'x.doc.show_r
> <<'_',
This utility reads CSV file then dumps it as a text table, or as JSON if you
specify the `--format=json` or `--json` option.
_
add_args => {
hash => {
summary => 'D
_result' => 0,
},
{
summary => 'Convert CSV to JSON',
src => '[[prog]] file.csv --json',
src_plang => 'bash',
test => 0,
'x.
=back
This utility reads CSV file then dumps it as a text table, or as JSON if you
specify the C<--format=json> or C<--json> option.
This function is not exported.
Arguments ('*' denotes required