berryworkssoftware / edi-json Goto Github PK
View Code? Open in Web Editor NEWSerializing EDI as JSON
Home Page: https://github.com/BerryWorksSoftware/edi-json
Serializing EDI as JSON
Home Page: https://github.com/BerryWorksSoftware/edi-json
I have EDIx12 837 messages which has wrong length in ISA elements.
For ex. ISA03 should be minimum 10 characters, but in my message, it is only 3 characters.
How can I change the length properties?
How do I set -r flag using EDI-JSON? I can not find com.berryworks.edireader.json.fromedi.EdiToJson; in order to modify it to support skipping over SE count errors. Thanks !!
First of all, thanks for creating a great library. I've been comparing many others and yours offer the best fit to our needs.
The JAR file contains very old version of slf4j which creates a problem when importing to our project. I understand that the distributed JAR file might be an uber jar for CLI purposes.
Ideally there would be 2 JARs to distribute:
pom.xml
Hi there, I tried to use my sample edifact file it doesn't generate correctly syntax there are some mistake syntax for example [, } etc.
Hi,
I'm reaching out here, because I don't think I've had any response from the json@ address in the README (apologies if I have, but I've not found it in spam/quarantine).
The company I work for (@GlodoUK) is interested in getting read/write capabilities from X12 (and later down the line likely EDIFACT), and I think edi-json is probably one of the easier solutions to get into our existing workflows.
We're basically after pricing/support model at this point to be able to get an understanding of where it fits in the ecosystem.
The XML parser allows for the use of an EDISyntaxExceptionHandler to ignore errors and move on anyway. This feature should also be provided for JSON data when creating the edi json parser.
Thank you for the code implementation for parsing EDI File
I tired replicating in my eclipse but unable to get the expected output in Json format. can you help in this case
I have a need to convert 837 to json. Is there premium edition out there that we can subscribe and start using?
This is the file i tried to parse
edi215.txt
On CLI, it yields this error
Segment count error in SE segment. Expected 40 instead of 41 at segment 42, field 2
I hope you'll support f215
When using the converted json and parsing into a java or javascript (or other) object model, characters like - (dash) and _ (underscore) cause the user to use the object['property-name']
type of syntax instead of object.propertyName
Please add an option to remove those characters and simply use camel case for json properties.
Hi,
I am looking for a tool that can parse a 271 (insurance eligibility) file into either json or xml.
I tried using berryworks as following, but got an error.
$ java -jar edireader-json-basic-5.5.13.jar 271Sample2 a.out
Could not find queued element loop for putAttribute()
$
Am I running it correctly? Thanks.
When generating the JSON, the output does not include names for the arrays. When converting to an object, the arrays are anonymous and makes navigating the objects very difficult.
for example
"N1-1000A_loop": [
{
"N1_01": "PR",
"N1_02": "PROVIDER"
},
{
"N3_01": "151 ADDRESS AVENUE"
},
{
"N4_01": "MASON",
"N4_02": "CT",
"N4_03": "06446"
},
{
"PER_01": "BL",
"PER_02": "Provider Service"
}
]
should be something like this which has the actual object name vs. array.
"N1-1000A_loop": {
"N1": {
"N1_01": "PR",
"N1_02": "PROVIDER"
},
"N3": {
"N3_01": "151 ADDRESS AVENUE"
},
"N4": {
"N4_01": "MASON",
"N4_02": "CT",
"N4_03": "06446"
},
"PER": {
"PER_01": "BL",
"PER_02": "Provider Service"
}
}
JSON to EDI is just in Premium version?
Could you please release a license file for your code? It is not clear how or when this code can be used.
Any update on premium edition
Can this be available in maven central or any other repository ?
Can the the output be directed to stdout instead written to an output file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.