JSON parsing and composing library:

  • benjaminkraus - 2020-09-17

    Hello everybody,

    I copied the example given under https://forge.codesys.com/lib/pro-json/home/Home/ to a function block.
    ComposingJSON works fine but when I run ParseJSON the values in all variables is always NULL.

    What could be my mistake? Any known bugs?

    Talk Topic about project #pro-json

    • Ingo

      Ingo - 2020-09-25

      From my experience, it could either be the layout of the struct which doesn't match the json file, or characters / sizes of the members in the json file, which are not supported (yet).

      Maybe you could share a codesnippet, json file and then the content of the struct (to see if some members were initialized).


Log in to post a comment.