mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
fd982fef73
no issue - When processing CSV files `parse` function now allows for the client to specify "mapping" parameter in format of a hash as follows: { destination_property_name: 'source_column_name'} e.g.: { name: 'weird_name_column', email: 'email_column' } - It is done so to allow for the end user to provide exact mapping of the fields to be transformed into JSON. |
||
---|---|---|
.. | ||
single-column-with-header.csv | ||
two-columns-mapping-header.csv | ||
two-columns-obscure-header.csv | ||
two-columns-with-header.csv |