The latest enhancement for RPG is available for 7.2 and 7.3: The DATA-INTO opcode. It's like XML-INTO, but for any structured language, such as JSON. The big difference between DATA-INTO and XML-INTO is that you have to supply the parser for the structured language.
But the source for a sample JSON parser is available with the PTFs.
Here's the information about PTFs, the sample parser, where to find documentation: http://ibm.biz/data-into-rpg-opcode-ptfs
But the source for a sample JSON parser is available with the PTFs.
Here's the information about PTFs, the sample parser, where to find documentation: http://ibm.biz/data-into-rpg-opcode-ptfs
Comment