yajl_get_string() issue

Discussions relating to the ScottKlement.com port of the open source YAJL JSON Reader/Generator. This includes the YAJL tool as well as the YAJLR4, YAJLGEN, YAJLINTO and YAJLDTAGEN add-ons from ScottKlement.com. http://www.scottklement.com/yajl/
Post Reply
THIYAGARAJAN
Posts: 7
Joined: Sat Jul 01, 2023 3:57 pm

yajl_get_string() issue

Post 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?
jonboy49
Posts: 206
Joined: Wed Jul 28, 2021 8:18 pm

Re: yajl_get_string() issue

Post 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.
Post Reply