Group
Extension

Matches 1

Text-CSV_XS ( H/HM/HMBRAND/Text-CSV_XS-1.61.tgz, HMBRAND, 2025; MetaCPAN )
Text-CSV_XS/CSV_XS.pm ( view source; MetaCPAN )
);

=head2 Converting CSV to JSON

 use Text::CSV_XS qw( csv );
 use JSON; # or Cpanel::JSON::XS for better performance

 # AoA (no header interpretation)
 say encode_json (csv (in => "file.csv"));

 
# AoH (convert to structures)
 say encode_json (csv (in => "file.csv", bom => 1));

Yes, it is that simple.

=head2 The examples folder

For more extended examples, see the F<examples/> C<1>. sub-dire

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.