FindJSONValue2 (FUN)ΒΆ
FUNCTION FindJSONValue2 : DINT
Finds the corresponding value of a key in a JSON String. Objects and arrays are NOT supported.
- InOut:
Scope
Name
Type
Comment
Return
FindJSONValue2DINTInput
pwsInPOINTER TO WORD
Pointer to JSON wstring
udiSizeInUDINTSize of pwsIn
pwsKeyPOINTER TO WORD
Pointer to key wstring
diSearchStartPosDINTStartposition of the search
pwsValuePOINTER TO WSTRING
Pointer to the result value
udiValueSizeUDINTSize of pwsValue
Output
eError