YAJL saving json to the IFS

Dave <[email protected]> Fri, 6 Jan 2023 10:30:56 +0100
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAEw=R=t_htg-rO+_4=fTTs=cCWiFuecKrAPk0G8Z+sLVrudBgA@mail.gmail.com>
Hello,

I have a program that saves the json to the ifs or not depending on the
value of a data area :

if debug_mode
yajl_stdin_load_tree(*on : errorMessage : streamFile)
else
yajl_stdin_load_tree(*on : errorMessage)

How can I save the json when not in debug mode and an error is detected
during the processing of the different objects?

Thanks
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.