YAJL save JSON to stream file

Dave <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAEw=R=uNAH6VLLCcTFvEzVQ+YqOsKOfvRsU+=XhGNR7B5PPGaA@mail.gmail.com>
Hello,



I know can save my JSON data to the IFS on loading it into my program by
using the optional streamfile parameter.



 YAJL_STDIN_LOAD_TREE( *ON : errorMessage : streamFile);



But what if I don’t want to save it unless the program detects an error ?
Do I have to load it again or is there another way of saving it that I
can’t see ?



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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.