Reputation: 47
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.
Upvotes: 1
Views: 3423
Reputation: 491
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
Upvotes: 0