pyx12
pyx12 copied to clipboard
Adding JSON writing feature and error summarization
Features Included:
- Add JSON writer to write to json from x12ndocument
- Error Summarizing to get error count and element count
Known Limitations:
- JSON writing does not write any indents/newlines when formatting
Addresses https://github.com/azoner/pyx12/issues/50 with some limitations. JSON is written to hierarchical structure, but no path, position, etc is included. Path can be determined by traversing through the nested JSON output.
Coverage decreased (-2.1%) to 64.748% when pulling a1c7a86e084e8de21cd86e21e59c3c67b48f8e39 on tkobil:master into 9e624dd7c2d07e057da85fb6be858b6b56637ff4 on azoner:master.
Hi @azoner, what are your thoughts regarding this PR/feature?