-
Notifications
You must be signed in to change notification settings - Fork 136
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
ChoJSONReader #303
Comments
can u pls post sample json with POCO object structure. Would be nice to write some dotnetfiddle (https://dotnetfiddle.net/) and share with me. |
Hi! It is fairly straight forward. I dont know what my users will try to parse json files so it has to be generic as I dont know what they will try to put in. I tried with the attached file (has nothing to do with us or the application, it is just data to use for testing). Here are my code rows. I need the Errormode (IgnoreAndContinue) to make it work. (I try the same approach with XML but I cant get it to work (same file, just converted to XML, same code below but using ChoXMLReader instead)) Best
|
Hi,
I am a newbie to your package which seems excellent so excuse if these questions are of basic nature.
I have a ChoJSONReader reading a JSOn file to convert to CSV, very similar to the code snippet.
But I get this error:
ChoETL.ChoReaderException: 'Failed to parse '"' value for 'messagestext' field.' Inner Exception :ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
Setting error mode to r.ErrorMode(ChoErrorMode.IgnoreAndContinue) avoids it but I am not sure what I am missing her. Is it any record with a null field that is missing?
Best
Christian
The text was updated successfully, but these errors were encountered: