Using DATA-GEN to generate JSON
<dfreinkel-cbKQUZO/W6aaLr2CDSiKrwC/[email protected]>
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <[email protected]> |
I have a multi-dimensional data structure (array) that I am trying to parse into a JSON string using DATA-GEN. The Generator is MDRFRAME(GENERATOR), basically YAGL. The data structure/array has nested arrays. When DATA-GEN executes, it crashes. From the error message, it is crashing on a unused array element. Only 1 message is reported in the job log where the problem appears to be an unused array element in a nested array. I believe the generator should have ignored the unused elements. Does anyone have suggestions on how I can identify the problem? Thanks Darryl Freinkel A4G Telephone: 770.321.8562 -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.