JSON parser function blocks
This is a library of IEC61131-3 function blocks to parse and read JSON text. The text can be exchanged in files or text buffers.
The IEC61131-3 manages JSON data in memory as a structured tree of « nodes ».
Each node represent either a single JSON value or a complex JSON container (array or object).
JSON nodes represent a JSON value and can be:
- a single numerical value
- a single character string
- an array of values
- a structured object
Example:
Functions are available for:
- Constructing a tree of nodes in memory.
- Exploring a tree of nodes in memory.
- Parsing some JSON text to build a tree of nodes in memory.
- Writing JSON text which represents a tree of nodes in memory.
Other topics in this chapter |
JSON parser function blocks |
IEC 61131-3 Automation platform > Programming - Reference guide > JSON parser function blocks |
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files