YamlWorker.from_bytes


Description:

[ Version ( since = "7.8" ) ]
public YamlWorker.from_bytes (Bytes bytes, string[]? sub_members = null, Settings? settings = null) throws Error

Performs initialization for deserialization. Accepts a yaml string in the form of bytes, the object GLib.Bytes .

Parameters:

bytes

Yaml string in the form of bytes, the object GLib.Bytes

sub_members

An array of names of yaml elements that need to be traversed to the target node

settings

Settings

Exceptions:

Serialize.Error

Error with yaml or sub_members