Method

NumCosmoMathSerializedict_str_from_yaml

Declaration [src]

NcmObjDictStr*
ncm_serialize_dict_str_from_yaml (
  NcmSerialize* ser,
  const gchar* yaml_obj
)

Description [src]

Parses the serialized string in yaml_obj and returns a NcmObjDictStr containing the object names as keys and the serialized objects as values.

Parameters

yaml_obj

Type: const gchar*

String containing the serialized version of the object in YAML format.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: NcmObjDictStr

A new NcmObjDictStr.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.