Page 1 of 1

yajl_get_string() issue

Posted: Wed Jul 05, 2023 12:10 pm
by THIYAGARAJAN
Hi All,

I am parsing the Json date into tree using yajl_stmf_load_tree and I was able to get the key value but when I try to get value using yajl_get_string(val) to get the value of the node, I am getting an error saying that

Message . . . . : The call to YAJL_GET_S ended in error (C G D F).

Message . . . . : Length of varying length variable is out of range.

Anyone faced this issue before, can you give some suggestions?

Re: yajl_get_string() issue

Posted: Wed Jul 05, 2023 3:30 pm
by jonboy49
Some of your code would help. For example of the call sequence and the definitions of the relevant fields. An extract of the relevant portion of the json would;d be useful too.