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 parsing and composing library: null object

snid
2022-10-12
2024-02-21
  • snid - 2022-10-12

    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

     

Log in to post a comment.