Is yajl_addNumF working correctly?

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
myang
Posts: 4
Joined: Fri May 24, 2024 7:02 pm

Is yajl_addNumF working correctly?

Post by myang »

Dow SqlCod = 0;

yajl_addNumF(*omit: CcdPct);

Exec SQL Fetch from C1 into :CcdPct;
Enddo;

I was expecting to get an array [1,2,3,4,5,6] instead I got [" ", 1, " ", 2, " ", 3, " ", 4, " ", 5, " ", 6]

Is what I received the intended result?
Scott Klement
Site Admin
Posts: 872
Joined: Sun Jul 04, 2021 5:12 am

Re: Is yajl_addNumF working correctly?

Post by Scott Klement »

Thanks for pointing this out. It was a regression caused by the null support that was added in May 2024. It is fixed now, please download the latest copy from https://www.scottklement.com/yajl/
Post Reply