× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Man, you and Jon P! :) If those are anything like the XML SQL functions - at least for consuming content - I found those very manageable. I haven't spent any time with creating XML, though, so can't speak to any similarities with the JSON stuff.

I went to SQL for consuming XML, because it was more flexible, and at 7.1, at least, was more forgiving about weird UTF-8 byte sequences, such as emojis. Neither XML-INTO or XML-SAX handled that at 7.1, and we had to make stuff work!

For consuming content, I recommend Birgitta's presentations at COMMON, or maybe they're available elsewhere.

Regards
Vern

On 1/22/2020 12:15 PM, Justin Taylor wrote:
Personally, I tried out the SQL functions when they were first released. I found them counterintuitive, as well as clunky and difficult to use.



-----Original Message-----
From: Tim Fathers [mailto:X700-IX2J@xxxxxxxxxxx]
Sent: Wednesday, January 22, 2020 11:24 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <WEB400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] RPG JSON YAJL

...I'm curious as to why you'd use YAJL instead of embedded SQL to create/consume JSON in RPG, which seems to me to be a better option?

Tim.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.