Search found 5 matches

by Dharshani
Wed Apr 10, 2024 6:29 am
Forum: YAJL-ILE
Topic: Seeking advice on AXIS transport API
Replies: 3
Views: 39705

Re: Seeking advice on AXIS transport API

Hi Scott,

Thanks a lot for your response.
by Dharshani
Wed Apr 10, 2024 5:04 am
Forum: YAJL-ILE
Topic: Seeking advice on AXIS transport API
Replies: 3
Views: 39705

Re: Seeking advice on AXIS transport API

Hi All,

Kindy seeking a response on this. Could you please help me?
by Dharshani
Wed Apr 03, 2024 5:35 am
Forum: YAJL-ILE
Topic: Seeking advice on AXIS transport API
Replies: 3
Views: 39705

Seeking advice on AXIS transport API

Hi All,

I have used AXIS routines to get third party API response. I will provide some part of the code below,


Ctl-Opt OPTION(*SRCSTMT) FORMSALIGN(*NO) INDENT('| ') DECEDIT(*JOBRUN);
Ctl-Opt PGMINFO(*PCML:*MODULE:*DCLCASE) DFTNAME(PGM_NAME);
Ctl-Opt DFTACTGRP(*NO) ACTGRP(*CALLER) BNDDIR ...
by Dharshani
Thu Nov 30, 2023 6:41 am
Forum: YAJL-ILE
Topic: YAJL lexical error: invalid character inside string
Replies: 4
Views: 28581

Re: YAJL lexical error: invalid character inside string

Hi Scott,

Thanks for your response. By the way the json is valid.

documentNode = yajl_string_load_tree(response: errorMessage);

response is a char type variable.

When I used char, error returned as 'documentNode = yajl_string_load_tree(response: errorMessage); ' & when I used varchar, error ...
by Dharshani
Wed Nov 29, 2023 7:05 am
Forum: YAJL-ILE
Topic: YAJL lexical error: invalid character inside string
Replies: 4
Views: 28581

YAJL lexical error: invalid character inside string

Hi,

Could you please let me know how to remove invalid json character from the response json.
I have tried with %scan and %replace build in functions to remove '\"' , '\n '. But I found more than that characters. Please consider that i'm using YAJL library to read the json.
How to determine which ...