Image::ExifTool::Import(3pm) | User Contributed Perl Documentation | Image::ExifTool::Import(3pm) |
Image::ExifTool::Import - Import CSV and JSON database files
use Image::ExifTool::Import qw(ReadCSV ReadJSON); $err = ReadCSV($csvFile, \%database); $err = ReadJSON($jsonfile, \%database);
This module contains routines for importing tag information from CSV (Comma Separated Value) and JSON (JavaScript Object Notation) database files.
Exports nothing by default, but ReadCSV and ReadJSON may be exported.
Read CSV or JSON file into a database hash.
1) Hash reference for database object.
2) Optional string used to represent an undefined (missing) tag value. (Used for deleting tags.)
3) For ReadCSV this gives the delimiter for CSV entries, with a default of ",". For ReadJSON this is the character set for converting Unicode escape sequences in strings, with a default of "UTF8". See the ExifTool Charset option for a list of valid character sets.
Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2021-04-24 | perl v5.32.1 |