IDoc → JSON
Same parsing as IDoc → XML, rendered as JSON: an "EDI_DC40" object for the control record, and a "segments" array of {"name", "sdata"} for every data record.
Same parsing as IDoc → XML, rendered as JSON: an "EDI_DC40" object for the control record, and a "segments" array of {"name", "sdata"} for every data record.