Hi Tim, I am reading REAL values from a Json, however the conversion is not working quite properly. Do I need to use a function on every variable or should it be done automatically? I can see that the HMIVarAsString is correct '0.9454', however the Number is 0 and the AsString is also '0'. Best regards, Sander
Hi Tim, Thanks for your fix, it is working very good currently! Is there still a chance of implementing the initial question to ignore null objects? Really appreciate your work! Best regards, Sander
Hi, Thanks for you response in first place, I haven't checked your quickfix (but I will). However I found a bug which I cannot truly understand: If the last object is an array then the json is incorrect, see wrongjson.png. The expected json is shown in the other image (expectedresult.png) Hope you can easily fix this issue? Best regards, Sander
Hi, I was implementing the JSON parsing and composing library, however I ran in a problem. Since codesys does not support dynamic array allocation, I have to use a static array of objects. Is it possible to extend the function of "VariableArraySize", currently only null values are ignored. If a user uses an array of DUT and every value in the DUT is null that the whole object is ignored? Best regards, Sander Talk Topic about project #pro-json
Hi, I was implementing the JSON parsing and composing library, however I ran in a problem. Since codesys does not support dynamic array allocation, I have to use a static array of objects. Is it possible to extend the function of "VariableArraySize", currently only null values are ignored. If a user uses an array of DUT and every value in the DUT is null that the whole object is ignored? Best regards, Sander
Thanks a lot this problem still exists in 3.5.17