Yaml_Get


Yaml_Get can be used to retrieve value from database.

Yaml_Get(pYaml, Key)

Parameters

Parameter

Description

pYaml

This is the pointer previously returned from Yaml_Init().

Key

Key to get value from to get a subkey use dot syntax, e.g. data.key.subkey.
When a key contains subkeys, data.key.0 will contain count of subkeys and data.key.1 and so on the name of subkey.

Return Value

None.

Remarks

To check if a key does not exist use Yaml_Exist().

Related

Simple Yaml Parser, Yaml_Init, Yaml_Set, Yaml_Add, Yaml_Insert, Yaml_Clone, Yaml_Delete, Yaml_DeleteAll, Yaml_Exist, Yaml_Save

Example

; None.