yamlEncode()

Encodes a string.

Synopsis

string yamlEncode(dyn_mapping data);

Parameters

Parameter Description
data The dyn_ mapping to be encoded.

Description

The function encodes the given dyn_mapping with . For this, the mapping is converted into a tree, the BitVar is encoded into 0/1, the CharVar to an integer and other Types like ErrorVar and LangTextVar are encoded as a mapping. Within a dyn_mapping, every mapping is encoded as a separate document.

Assignment

yaml functions

Availability

CTRL