Skip to content

Edi Serialization

Compare
Choose a tag to compare
@cleftheris cleftheris released this 11 Oct 16:38
· 239 commits to master since this release

EDI serialization from CLR pocos is now supported.

Sample code:

var interchange = new MyInterchangeClass() {

     // fill the properties
     .... 
};
var grammar = EdiGrammar.NewEdiFact();
var output = new StringBuilder();
using (var writer = new EdiTextWriter(new StringWriter(output), grammar)) 
     new EdiSerializer().Serialize(writer, interchange);
}