× 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.



Hi Jason,

You won't be able to use this with DATA-INTO because it uses abilities not available in RPG.  Specifically, it creates an array where different elements are of different types, which isn't possible in RPG.  This rules out DATA-INTO and YAJLGEN.,

You can handle it with YAJL by calling the YAJL subprocedures, though.

-SK

On 1/20/2020 8:53 AM, Jason Olson wrote:
So a colleague of mine has been trying to parse the attached JSON file.
We've tried 18 different ways to Sunday to get it to parse but the YAJL
utility does not like it.

I tried the new data structure generator in YAJL but it only generated a
small portion of the DS necessary. And, trying to write them by hand hasn't
been working either.

So, I figured since we've looked at this maybe someone with more fresh eyes
and has done much more of this would be able to help.


Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.