std1.0.0-beta-7 SafeC docs

std :: serial::yaml

Struct std::Yaml

#include <std/serial/yaml.h> source

struct Yaml { }

The YAML backend as a Format (see value.h): v.encode(Yaml::new()), Value::decode(Yaml::new(), text, &ok) — the same as yaml_write / yaml_parse.

Methods

§static struct Yaml new()source · definition
§void write(const &Value v, &String out) constsource · definition
§struct Value parse(const &char text, ?&int ok) constsource · definition