JSON/YAJL

80 pts.
Tags:
AS/400 HTTP
IBM iSeries
iSeries REST
I would appreciate input as I can't get rid of the first two lines and the third has the { right at the end. Here is the code - https://ibmrestapis.blogspot.com/p/blog-page_26.html

Ö•£…•£`£¨—…z@——“‰ƒ£‰–•a‘¢–•^@ƒˆ™¢…£~¤£†`ø
%
%       {
    "success": true,
    "errmsg": "",
    "count": 2,
    "item": [
        {
            "CompanyCode": 200,
            "BranchCode": 222,
            "SLATime": 22,
            "SLAPrewarnTime": 33,
            "SendEmail": "N",
            "SendSMS": "N",
            "RecordStatus": "D"
        },
        {
            "CompanyCode": 300,
            "BranchCode": 20,
            "SLATime": 2,
            "SLAPrewarnTime": 3,
            "SendEmail": "Y",
            "SendSMS": "Y",
            "RecordStatus": ""
        }
    ]
}
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    What problem are you trying to solve? What does the linked code have to do with your problem?
    36,035 pointsBadges:
    report
  • ToddN2000
    Yes we need some more specific details. Are you getting error messages? Not getting the correct results? What release of the i-Series are you on?
    134,720 pointsBadges:
    report
  • BigKat
    If the problem is the extra "garbage" data and you know it won't contain { or } you can use string functions to find the first { and the last } and substring out the JSON.
    9,460 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: