I wonder what "YAJL is not the way to go" means?  YAJL, SQL, IWS, XML-INTO, DATA-INTO, DATA-GEN... these are all tools in your tool box.  Use the one that seems best to you for the problem you're trying to solve.

What do you mean by "can't consume JSON"?   Do you mean you can't read a JSON document?  Or, are you referring to consume in the sense of a "web service consumer"?  If so, you have your terminology confused, as YAJL is just for reading/writing JSON documents, it has no capability to make HTTP requests.

HTTPAPI is an open source tool for making HTTP requests (aka, downloading the JSON file) and you can use it in conjunction with YAJL to interpret (or create) the JSON.   But, you can use HTTPAPI with SQL, or SQL's HTTP functions with YAJL, or whatever other combination you like.  Use what works best for you.


On 2/27/2020 3:33 AM, Cabero wrote:
Hello All.

I parse JSON data using YAJL in RPG [1]but can't consume JSON.
Can anybody point me to working open source doing so please.
Scott Klement's article was easy to follow for providing JSON. [2]
One comment on LinkedIn insinuated YAJL is not the way to go but IWS?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.