Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Json Builder problem?

androidzz
2024-03-11
2024-03-11
  • androidzz - 2024-03-11

    Dear reader,

    I am using the codesys JSON utilities SL, 1.9.0.0 library. And then specifically the FB JSONBuilder. I need to create a main object with at least 2 objects in it. The first object is no problem, but I cannot insert the second object into the main object. See attached my code and the result I get. I am assuming that I am doing something wrong with the parent index but have tried a lot and can't get it done.

    Kind regards,
    Rob

     
  • androidzz - 2024-03-11

    I found my problem. The parentIndex from a new object was not connected to the root parent index

     

Log in to post a comment.