> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/powerio-json-library/beschreibung.md).

# Description

Creation and parsing of JSON objects for CODESYS IEC applications.

{% columns %}
{% column width="25%" %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-e9b8d3b80e2d1d6b4b21b1ad8c92e56ef34bd79e%2FpowerIO%20Icon%20POWERIOJSON.png?alt=media" alt="" width="100"><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="75%" %}
The POWERIOJSON Library enables the creation and parsing of JSON objects. This allows JSON data structures from typical web requests to be interpreted and transferred into CODESYS IEC variables.
{% endcolumn %}
{% endcolumns %}

***

So you can get started right away, we offer the library as a download. No license is required to use it. If you need further support, please do not hesitate to contact us.

<a href="https://support.powerio.com/hub/downloads/en/codesys-hvac-downloads/poweriojson-library.md" class="button primary" data-icon="up-right-from-square">Download</a> <a href="https://www.powerio.com/de/kontakt" class="button secondary" data-icon="question">Get support</a>

{% hint style="info" %}
**Licensing:**

This product can be used without restriction without acquiring a license.
{% endhint %}

### Overview

{% columns %}
{% column width="91.66666666666666%" %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-62cf4db24e8c9bcbb3f7f83145e8d5c9780cec19%2FScreenshot%202025-11-19%20at%2000.53.20.png?alt=media" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Parse JSON strings and transfer data into IEC variables.</em></p>
{% endcolumn %}

{% column width="8.333333333333343%" %}

{% endcolumn %}
{% endcolumns %}

***

### Description

With this library, you can process JSON data structures directly from CODESYS in IEC code. The library offers function blocks for parsing JSON strings as well as for extracting individual values via path specifications.

The main components are:

* Master function block for parsing JSON strings
* Slave function block for extracting individual values via path specifications
* Slave function block for processing structures
* Helper function block for managing JSON object data

***

### Details

| **Documentation Version**      | <code class="expression">space.vars.POWERIOJSON\_Library\_latest</code> |
| ------------------------------ | ----------------------------------------------------------------------- |
| **Placeholder**                | `POWERIOJSON`                                                           |
| **Available in CODESYS Store** | *No*                                                                    |
| **Programming system**         | *CODESYS V3.5.17.2 or higher*                                           |
| **Runtime system**             | *CODESYS Control V4.2.0.0 or higher*                                    |
| **Licensing**                  | *License-free*                                                          |

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.powerio.com/hub/codesys-hvac/en/powerio-json-library/beschreibung.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
