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

Escape character removed from null value #75

Open
Ibbus93 opened this issue Feb 22, 2018 · 3 comments
Open

Escape character removed from null value #75

Ibbus93 opened this issue Feb 22, 2018 · 3 comments
Labels

Comments

@Ibbus93
Copy link

Ibbus93 commented Feb 22, 2018

As it is written in the README for the escape characters:

It is possible to enable use of an "escape character" (by default, not enabled): some variations use \ for escaping. If enabled, character immediately followed will be used as-is, except for a small set of "well-known" escapes (\n, \r, \t, \0)

In this list it's not included \N that is currently used by Facebook Export API.

As you can image, I go through this exception:

Exception in thread "main" com.fasterxml.jackson.databind.RuntimeJsonMappingException: Can not construct instance of java.lang.Double from String value ("N"): not a valid Double value

Because the parser remove the escape character \ from the null value.

Can you include the \N value in the list of the exceptions? Thank you!

@cowtowncoder
Copy link
Member

Which format are we talking about here? CSV, YAML or Properties?

@Ibbus93
Copy link
Author

Ibbus93 commented Feb 23, 2018

Sorry, I forgot to mention it. We're talking about CSV.

@cowtowncoder
Copy link
Member

Ok, I'll have to do some reading here -- CSV isn't exactly strictly specified format. :)

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

No branches or pull requests

2 participants