Capella Assessments
Hello everyone, I found a bug in Version 1.0.18.0. I have a structure: TYPE ST_JSON_TEST : STRUCT testList : ARRAY[0..1] OF JSONVAR; END_STRUCT END_TYPE It is declared as follows: stJsonTest : ST_JSON_TEST; stJsonTest.testList[0].CharString := 'used'; stJsonTest.testList[1] is null; I called the method "STRUCT_TO_JSON" with the input parameter "IgnoreNull := true". After that, the string I got is: '{"stJsonTest":{"testList":["used"}]}' You can see that the position of ']' is incorrect. Does anyone...
Hello everyone, I found a bug in Version 1.0.18.0. I have a structure: TYPE ST_JSON_TEST : STRUCT testList : ARRAY[0..1] OF JSONVAR; END_STRUCT END_TYPE It is declared as follows: stJsonTest : ST_JSON_TEST; stJsonTest.testList[0].CharString := 'used'; stJsonTest.testList[0] is null; I called the method "STRUCT_TO_JSON" with the input parameter "IgnoreNull := true". After that, the string I got is: '{"stJsonTest":{"testList":["used"}]}' You can see that the position of ']' is incorrect. Does anyone...
Hello Everyone , Bugs detected during testing with PROJSON 1.0.16.0: A new bug has been discovered in the PROJSON library, an incorrect JSON is produced when the message to be composed is a structure array, and one of its attributes is another structure: Example that does not work : testLevel1: JSONVAR; house.rooms[1.. N].window.Var1 Example that works : testLevel1: JSONVAR; house.rooms[1..N].Var1 Example that works : house.room1.window.Var1 In our testing phase, we took into account previously identified...
Download link still provides v1.5.2.2 (MAC problem) instead of v1.6.0.3 for co⚡e: Sparkplug™ MQTT Edge
I'm getting the exact same error. Would like to know how to solve this as well.
I'm getting the exact same error. Would like to know how to solve this as well.
Created an account just to say thank you
Hi dcsaba, if still relevant, you could try my version - put the attached file in the same folder as described above
Hi dcsaba, if still relevant, you could try my version - put the attached file in the same folder as described above
Initial
commentChange
addStart