Parse INI Settings

data · N115 · starter-package 7.0.1

Read a simple INI file into global settings and named sections. Values stay text. Blank lines and whole-line # or ; comments are ignored. Repeated keys in the same section are errors. Values use a single line and trim outer whitespace.

Example

Connected values

{"text":"mode=dev
[server]
port=80"}

Result

{"globals":{"mode":"dev"},"sections":{"server":{"port":"80"}}}

Connector data types

DirectionConnectorTypeRequired
Inputtext — Texttextyes
Outputglobals — Globalsrecordon success
Outputsections — Sectionsrecordon success

Errors and recovery

Check the line identified in the error. Put section names in square brackets and write one key=value per line. Rename repeated keys within a section.