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



Good catch Brad - I hadn't realized that was a "new" parameter.



On Oct 19, 2020, at 3:26 PM, Moses Nang (IMS Morton Grove) <moses.nang@xxxxxxxxxxxxx> wrote:

That' the issue...I guess we have the old version because I only see two parameters. I'll get my manager to install the latest version of YAJL. Thank you both again!

*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* yajl_stdin_load_tree(): Load JSON data from stdin (Apache)
* into a tree structure.
*
* is_utf8 (input) = *ON=data is already UTF-8.
* *OFF=data is in EBCDIC
* errMsg (output) = error message (if any)
*
* returns a YAJL node representing the tree structure
* or *NULL upon failure.
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
d yajl_stdin_load_tree...
D pr like(yajl_val)
D is_utf8 1n const
D errMsg 500a varying

Moses Nang
Senior Programmer Analyst
O: 847.583.3712


Integrated Merchandising Solutions, LLC
8338 Austin Avenue, Morton Grove, IL 60053
imsretail.com

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brad Stone
Sent: Monday, October 19, 2020 2:11 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Saving Stdin to a variable using YAJL

True, unless he has an older version.... If you don't see it there, download and install the latest version.

On Mon, Oct 19, 2020 at 2:00 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Not wishing to be rude but ...

Just look at the prototype. It is clearly documented as the third
parameter to the function.



On Oct 19, 2020, at 2:19 PM, Moses Nang (IMS Morton Grove) <
moses.nang@xxxxxxxxxxxxx> wrote:

Thank you Brad and Jon for you replies!

I am able to parse the json using: docNode =
yajl_stdin_load_tree(*OFF:yajl_error);

Brad, So what would I need to do to change the above command to
"write
the json to a file that you can reference in a log". You mentioned
yajl_stdin_load_tree() has the option to do that. Thanks again!

Moses Nang
Senior Programmer Analyst
O: 847.583.3712


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=HdAUNv_EOZyljLc1cjbHCq-Eo7r1kRHoywhQbi81uaA&r=plwzSnPr1sMa1fbV3MlyeM8kmnaHf_byXhkFw-499P8&m=mwrLzEMvHagVmpv2h-uu_P7uFxJ_3RggQxcwwhrNCrs&s=qsa9_EP4Vb7ahhMWcDjoQ2_6PAH6RG_T4veAADZ0_Dw&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=HdAUNv_EOZyljLc1cjbHCq-Eo7r1kRHoywhQbi81uaA&r=plwzSnPr1sMa1fbV3MlyeM8kmnaHf_byXhkFw-499P8&m=mwrLzEMvHagVmpv2h-uu_P7uFxJ_3RggQxcwwhrNCrs&s=ynqiy8eKnfprTXFQMOycU2w2SKLmQpp4vmvN1IQ3Nm4&e= .

Please contact support@xxxxxxxxxxxxxxxxxxxx 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=https-3A__amazon.midrange.com&d=DwICAg&c=HdAUNv_EOZyljLc1cjbHCq-Eo7r1kRHoywhQbi81uaA&r=plwzSnPr1sMa1fbV3MlyeM8kmnaHf_byXhkFw-499P8&m=mwrLzEMvHagVmpv2h-uu_P7uFxJ_3RggQxcwwhrNCrs&s=2q0hRHjqN6ZhovC9loyguJ0jg9EXsC3bjoZUQQnCkZg&e=
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution, or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Network Operations Center at +1 888 697 2443.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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.