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