FindJSONValue (FUN)ΒΆ
FUNCTION FindJSONValue : DINT
Finds the corresponding value of a key in a JSON String. Objects and arrays are NOT supported.
- InOut:
Scope
Name
Type
Comment
Return
FindJSONValueDINTInput
pwsInPOINTER TO WORD
Pointer to JSON wstring
udiSizeInUDINTSize of pwsIn
pwsKeyPOINTER TO WORD
Pointer to key wstring
diSearchStartPosDINTStartposition of the search
Inout
wsValueWSTRING(255)Value