Comments (2)
Which library are you using that doesn't allow spaces in the key names? The grammar on json.org indicates that spaces are valid characters in both keys and values.
I'd like to keep the front-facing API as simple as possible, and the parsing as efficient as possible, so it would be nice to avoid more regular expression (we already have two).
Thanks for helping me understand!
from papaparse.
@dmcnaugh I think I'll close the issue until I can understand it better. I see that your proposed patch replaces whitespace in field names, but I suppose I still don't understand the value of that in contrast to the higher complexity of the header config option.
from papaparse.
Related Issues (20)
- Papa Unparse Delimiter and QuoteChar not working together HOT 1
- Preview of first row fails with "UndetectableDelimiter" error if file is too large HOT 1
- Parsing data with duplicate headers in streaming mode results in empty result HOT 1
- Extra columns when parsing CSV rows with JSON object HOT 1
- For CSV comma-delimited, when a row ends with an empty cell, papaparse mangles the next row's first cell HOT 1
- Autodetect of date formats
- renamedHeaders not showing in meta HOT 4
- Parse string with \n chars
- transformHeader called twice HOT 7
- nrows / skiprows HOT 1
- `Papa.parse()`: `comments` option breaks for quoted cells HOT 1
- JSON to CSV - LineBreaks in strings HOT 1
- Non-quote quoteChar still quotes quotes
- transformHeader for unparse? HOT 1
- Demo page appears to be failing with errors (large file, streaming and/or with headers)
- Do not discard embedded metadata stored in comments as per W3C recommendation
- Option to Disable Auto-Escaping During Parsing HOT 3
- skipFirstNLines is documented but not released HOT 4
- Parsing two-column csv with semi-column separator is not detected HOT 1
- Extra symbol in first row ยท HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papaparse.