I realize this is a broad-spectrum question, but here goes.
We have the need to communicate with REST APIs (Bill.com) that use JSON but do not support XML... I've done quite a bit with HTTPAPI and XML, but have no experience with JSON (other than downloading and experimenting with Scott Klements YAJL service programs). I'm relativley comfortable with XML parsing in RPGLE and SQLRPGLE.
I'm soliciting opinions/experiences on how best to approach this type of project. I realize there are options to convert JSON to XML and XML back to JSON, and options to "convert" DB2 files to/from JSON.
Thanks,
Greg
We have the need to communicate with REST APIs (Bill.com) that use JSON but do not support XML... I've done quite a bit with HTTPAPI and XML, but have no experience with JSON (other than downloading and experimenting with Scott Klements YAJL service programs). I'm relativley comfortable with XML parsing in RPGLE and SQLRPGLE.
I'm soliciting opinions/experiences on how best to approach this type of project. I realize there are options to convert JSON to XML and XML back to JSON, and options to "convert" DB2 files to/from JSON.
Thanks,
Greg
Comment