Search found 2 matches

by MelanieJ
Wed Jul 27, 2022 2:12 pm
Forum: YAJL-ILE
Topic: do_genValue: received YAJL generator status 4 for type code 1
Replies: 1
Views: 4516

Re: do_genValue: received YAJL generator status 4 for type code 1

I have found the solution.

I had written : yajl_beginObj(''); to create an object with no name... but it should be without quotes like :

yajl_beginObj();

Thanks all for reading,
Mélanie
by MelanieJ
Wed Jul 27, 2022 9:22 am
Forum: YAJL-ILE
Topic: do_genValue: received YAJL generator status 4 for type code 1
Replies: 1
Views: 4516

do_genValue: received YAJL generator status 4 for type code 1

Hello,

I can not find the solution of my issue using YAJL.

Could you help ?
In the buffer of YAJL, I can only see the first line (beginObj line). nothing else.

In my program, I do basically :

yajl_genOpen(*off);
yajl_beginObj('');
yajl_addChar('nb': %char(nb_res));
yajl_addChar('result_msg ...