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
Before ParseJSON, the JSONstring has to start with the name of used JSONVars "NewJSONObj". Therefor you need to modify "JSONString" after ComposeJSON. For example just add line like this before calling ParseJSON:
Before ParseJSON, the JSONstring has to start with the name of used JSONVars "NewJSONObj". Therefor you need to modify "JSONString" after ComposeJSON. For example just add line like this before calling ParseJSON:
JSONString:=REPLACE(JSONString,'NewJSONObj',12,FIND(JSONString,'LocalJSONObj'));
Talk Topic about project #pro-json
Last edit: jclavier 2022-01-14