Jon,
Version 2.0.1 has it... it's the last prototype in YAJL_H.
* YAJL_stringify(): Dump the contents of a node (and any child     
 *    nodes) to a JSON string.                                      
 *                                                                  
 *    node = (input) node to stringify                              
 *     buf = (input) pointer to buffer to place string into         
 * bufSize = (input) maximum length of data to put into buffer      
 *   ccsid = (input/optional) CCSID of buffer data default=job      
 *                                                                  
 * returns the length of the data placed in the buffer              
 *              or -1 upon failure                                  
 *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
D YAJL_stringify...                                                 
D                 PR            10i 0                               
D   node                              like(yajl_val) value          
D   buf                           *   value                         
D   bufSize                     10u 0 value                         
D   ccsid                        5u 0 const options(*nopass:*omit)  
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, September 15, 2017 3:41 PM
To: Rpg400 Rpg400-L
Subject: [EXTERNAL] Re: Convert JSON object to String.
I looked in YAJL_H for something like that Scott and didn't find it.  Just checked again and I see no sign and I think I have the latest version. Can you tell me where I can find the proto?
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Sep 15, 2017, at 3:37 PM, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> wrote:
YAJL_stringify()
On 9/15/2017 8:11 AM, Slanina, John wrote:
Does anyone know using Scott Klement Json Library how you can convert an JSON object back to a string so I can log the file ?
I have a json array and I want to log each element within the array to a file.
Thanks
 John Slanina
--
This is the RPG programming on the IBM i (AS/400 and iSeries) 
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx 
To subscribe, unsubscribe, or change list options,
visit: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.co
m_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXT
WPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hr
wLBroJeeROx2vErV0ASNIWcDI28Q3-s0fK8U&s=buZesq8yjzVrWeoQaLXxd1Nw6R0jb3p
XdJQrVB0zQrw&e= or email: RPG400-L-request@xxxxxxxxxxxx Before 
posting, please take a moment to review the archives at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hrwLBroJeeROx2vErV0ASNIWcDI28Q3-s0fK8U&s=hd4ATR0N-XsTuJwT-5uAQuv1R2HoAfXAJ2Gr2TfCJSU&e= .
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate 
link: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=
DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO
4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hrwLBroJeeROx2vErV0ASNIWcDI28Q3-s0
fK8U&s=53GIetL61ktpqBEtkEEtoGzczuW59uWfOUEZDGBBCjs&e=
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hrwLBroJeeROx2vErV0ASNIWcDI28Q3-s0fK8U&s=buZesq8yjzVrWeoQaLXxd1Nw6R0jb3pXdJQrVB0zQrw&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hrwLBroJeeROx2vErV0ASNIWcDI28Q3-s0fK8U&s=hd4ATR0N-XsTuJwT-5uAQuv1R2HoAfXAJ2Gr2TfCJSU&e= .
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=zr67-hrwLBroJeeROx2vErV0ASNIWcDI28Q3-s0fK8U&s=53GIetL61ktpqBEtkEEtoGzczuW59uWfOUEZDGBBCjs&e= 
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.