0

Currently I am working on a project where we have to convert an EDI X12 file to a JSON file.

I didn't find anything related to this in google, can someone please help me with this?

I know there are some commercial mapping tools like Altova, but I require a jar file which I can use in my project directly.

Lino
  • 18,775
  • 5
  • 46
  • 62
  • Note that Altova does just generate code you can put into a jar. If you don't really need to do much validation then look into the options below. – Dave Mar 24 '20 at 17:24

1 Answers1

0

Quick Google search gave me this: https://github.com/BerryWorksSoftware/edi-json

You can also try using this (I'm not sure it supports JSON, but you can easily convert XML to JSON, tutorial): http://www.smooks.org/

Here is another great way with tutorial: https://www.progress.com/tutorials/xml-converters/converting-edi