Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output invalid when data has double quotes #37

Open
thdoan opened this issue Oct 14, 2015 · 3 comments
Open

Output invalid when data has double quotes #37

thdoan opened this issue Oct 14, 2015 · 3 comments

Comments

@thdoan
Copy link

thdoan commented Oct 14, 2015

Steps to reproduce:

  1. Paste this into the input field:
name    unit
"Attitude ""for"" Men"  Shop 5
  1. Convert the data. For example, the generated JSON Properties data looks like this:
[{"name":"Attitude "for" Men","unit":"Shop 5"}]

The double quotes around "for" need to be escaped.

@Startouf
Copy link

When using JSON properties, the data is truncated after the first quote, this is quite bad

sector	job_title
Études/recherche	Directeur de "Plateform for ..."

==>

[{"sector":"Études/recherche","job_title":"Directeur de "}

@thdoan
Copy link
Author

thdoan commented Aug 22, 2019

@Startouf I've patched this issue and added other enhancements in my fork.

@ftruzzi
Copy link

ftruzzi commented Jun 17, 2020

Thank you @thdoan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants