JsonParseTxb_
Parse JSON text from a text buffer.
This function creates a new JSON node which represents the JSON expression read in the text buffer.
The returned node may be complex and have child nodes.
The function allocates the node in the memory. The application is responsible for releasing the memory.
Inputs
Input |
Data type |
Description |
hTxb |
DINT |
Handle of a valid text buffer containing a JSON text. |
Outputs
Output |
Data type |
Description |
hRoot |
DINT |
Handle of the parsed JSON object or 0 in case of errors |
FBD Language
JsonParseTxb_ |
IEC 61131-3 Automation platform > Programming - Reference guide > JSON parser function blocks > JsonParseTxb_ |
Created with the Personal Edition of HelpNDoc: Keep Your PDFs Safe from Unauthorized Access with These Security Measures