Comments (2)
I have not tried this myself but an idea as a workaround to make this work:
Try and create a subclass of the DOC segment like XMLDoc and put that as a readonly property inside the SG1 class only for xml/json. Try to populate the prop via getter lazy instantiation. Then use XMLIgnore on the SG2 C506 as well as any other component properties that would mess up the nesting level using overrides/hide of base class props.
from edi.net.
Do you have a eqample how to do it? Im trying my best but I dont know how to implemnt this lazy getter.
from edi.net.
Related Issues (20)
- Edifact DESADV HOT 3
- Different path length for same segment HOT 3
- Deserialize of X12 does not work on deeply nested segmentgroups HOT 1
- POCO Annotation from EDI Documentation Examples HOT 1
- [Q] Dealing with optional segment properties and segments
- Remove CR Carriage Return and LF Line feed HOT 2
- SegmentGroup Deserialization
- Trying out EDI.NET, working with different vendors HOT 1
- Mapping repeated elements in a segment HOT 3
- UNZ HOT 1
- Double UNB segment after creating EDIFACT HOT 5
- How to serialize CTT segment in X12 832? HOT 1
- Help me HOT 1
- EDIFACT Serialisation and UNT segment count HOT 2
- Partial X12 850 Document sent by affliliate
- Combine condition with value HOT 2
- How to omit unpopulated segment? HOT 2
- Question for path HOT 3
- X12 - automatic detection of grammar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edi.net.