Add excel2json function and updated custom mapper from props

This commit is contained in:
2021-03-30 09:16:11 +07:00
parent 7132c34595
commit 9fd46088d5
10 changed files with 245 additions and 0 deletions

18
data/mapper.json Normal file
View File

@@ -0,0 +1,18 @@
{
"data": [
{
"dataIndex": "Name",
"label": "Name"
},
{
"dataIndex": "Age",
"label": "Age"
}
],
"configs": {
"outputPath": "./data/outputs/exported",
"outputName": "my_exported_data",
"sheetName": "Sheet1",
"saveToOutput": true
}
}

BIN
data/people.xlsx Normal file

Binary file not shown.