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

'\\' in value not escaped properly #202

Closed
rodogu opened this issue Oct 9, 2017 · 1 comment
Closed

'\\' in value not escaped properly #202

rodogu opened this issue Oct 9, 2017 · 1 comment

Comments

@rodogu
Copy link

rodogu commented Oct 9, 2017

I noticed that if the value has something like"cheese \\", it gets convert as "cheese "" in the csv, which breaks the formatting.

For example:

{
  "cheese":"gouda",
  "bacon":"canadian\\"
}

will generate this

"bacon","cheese"
"canadian"","gouda"
@juanjoDiaz
Copy link
Collaborator

The latest version of json2csv prints:

"cheese","bacon"
"gouda","canadian\"

as expected.
So this can be closed.

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