ImportCsvBREDWithSemicolon.json: Difference between revisions
Jump to navigation
Jump to search
imported>Eberthomieu (→Modèle) |
imported>Nsanch |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Présentation= | =Présentation= | ||
=Modèle= | =Modèle= | ||
Line 10: | Line 8: | ||
"nbLineHeader" : "1", | "nbLineHeader" : "1", | ||
"nbLineFooter" : "0", | "nbLineFooter" : "0", | ||
"regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);( | "regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);(.*)/i" | ||
}, | }, | ||
"field" : [ | "field" : [ |
Latest revision as of 10:11, 11 December 2020
Présentation
Modèle
<javascript>{
"inputFormat" : { "contentType" : "text\/csv", "charset" : "ISO-8859-15", "nbLineHeader" : "1", "nbLineFooter" : "0", "regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);(.*)/i" }, "field" : [ { "name" : "account_entry_date", "format" : { "name" : "formatDate", "parameter" : [ "DD/MM/YYYY" ] } }, { "name" : "account_entry_amount" }, { "name" : "account_entry_comment" } ]
}</javascript>