Okay, I will try to use the cbl2xml by converting the json to xml and then to cbl. I have 0.90.2 (Cb2Xml and Jrecord)jar and I don't see the class Cobol2Xml, is there anything I missed? I want to use use the Cobol2Xml.newCobol2Xml ("sample.cbl") . . . .etc .xml2Cobol("sample.xml", "sample.txt");
From the Screenshot you shared on wiki, it looks like the Cbl2Json converter is only one way? I see the Cbl2Xml and Cbl2Csv are two ways. Is that the case that I can't change Json back to Cobol with the new Cbl2Json Library? So what is better solution?
Thanks Bruce, I was to mean to put the data file and the schema and convert to json. Now I want to do exactly the reverse, change the JSON to Cobol format. I don't see any method in the Cobol2Json class. Does it do that? If so sample code that can convert Json back to Cobol?
Hi Bruce, Glad you come up with Cobol2Json Converter. It is going to be very helpful. I am trying to see the examples on github and also tried to change Cobol to Json. But there was no luck. Most of the examples uses "dot bin " files and I don't know what is the use of that file. Is there a simple example that takes "dot cbl" file and change it to "dot json" file? I really appreciate that. Here is my sample code. try{ Cobol2Json.newCobol2Json("sample.cbl") .setFont("cp037") .setFileOrganztion("Constants.IO_FIXED_LENGTH")...