Feed

Active Projects

    JSON parsing and composing library

  • lucawu modified a comment on a wiki page

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

  • lucawu posted a comment on a wiki page

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

  • youness posted a comment on a wiki page

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