pyx12 icon indicating copy to clipboard operation
pyx12 copied to clipboard

Adding JSON writing feature and error summarization

Open tkobil opened this issue 5 years ago • 2 comments

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.

tkobil avatar Feb 18 '21 15:02 tkobil

Coverage Status

Coverage decreased (-2.1%) to 64.748% when pulling a1c7a86e084e8de21cd86e21e59c3c67b48f8e39 on tkobil:master into 9e624dd7c2d07e057da85fb6be858b6b56637ff4 on azoner:master.

coveralls avatar Feb 18 '21 15:02 coveralls

Hi @azoner, what are your thoughts regarding this PR/feature?

tkobil avatar Apr 08 '21 14:04 tkobil