From Text to Data: Lines, CSV and JSON Files
A file arrives as one long string, so a Node program splits CSV text into lines and fields, turns numbers from text into numbers, skips blank lines and reports bad rows, and reads and writes JSON files with JSON.parse and JSON.stringify.
Updated

- Category
- Node.js
- Level
- Apprentice
- Tags
- CSV File, JavaScript, JSON (rest-api), JSON.parse(), JSON.stringify(), nodejs