Skip to content

Commit

Permalink
tab delimiter for csv
Browse files Browse the repository at this point in the history
  • Loading branch information
joussy committed Jun 23, 2024
1 parent 0155dcd commit 861eecc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ A server-side processor for [JSONata](https://github.com/jsonata-js/jsonata) tha
## Features
- **Unlimited Processing Time**: Server-side processing removes browser limitations.
- **Flexible Input/Output**: Supports both JSON and CSV formats.
- **Choose your CSV Delimiter**: comma, semi-column and tab are supported
- **Data Persistence**: Saves data to local storage to prevent data loss.
- **Dark/Light Mode**: Choose your preferred theme.
- **Auto-refresh**: Automatically updates the data.
Expand Down
2 changes: 2 additions & 0 deletions client/src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<select class="form-select" v-model="csvInputDelimiter" :disabled="!inputFormat">
<option value=";">;</option>
<option value=",">,</option>
<option value="&#9;">\t</option>
</select>
</label>
</div>
Expand All @@ -34,6 +35,7 @@
<select class="form-select" v-model="csvOutputDelimiter" :disabled="!outputFormat">
<option value=";">;</option>
<option value=",">,</option>
<option value="&#9;">\t</option>
</select>
</label>
</div>
Expand Down
1 change: 0 additions & 1 deletion server/src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ router.get('/', function (req, res, next) {

router.post('/api/jsonata', async (req, res, next) => {
let jsonInput;

if (req.body.csvInput) {
// Parse CSV input
try {
Expand Down

0 comments on commit 861eecc

Please sign in to comment.