-
Notifications
You must be signed in to change notification settings - Fork 478
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
Json output in wrong order #383
Comments
@rmilecki Any thoughts on this? |
@m3nu Your thoughts on this? |
That comes from
I think that @m3nu: thoughts? |
IMO we should drop the sort_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The written content to the json file is in the wrong order.
Environment: local system. Might occur on CI unit tests as well
Steps to reproduce:
invoice2data ./SammyMaystoneLinesTest.pdf --input-reader=pdftotext --template-folder=./Templates --output-format=json --output-name=samy-before.json --debug
Debug output:
Actually written to the json file:
This causes the unittests to fail when it is compared against
https://github.com/invoice-x/invoice2data/blob/master/tests/compare/SammyMaystoneLinesTest.json
Encountered this while testing for: #378
Output to CSV, and Library are ok.
Untested: output to XML.
The text was updated successfully, but these errors were encountered: