Skip to contents

This is essentially a wrapper for yaml::yaml.load().

Usage

parse_fragment_YAML(x)

Arguments

x

The fragment.

Value

The object with the results.

Examples

### Parse some YAML
bookmark::parse_fragment_YAML("
  simpleObject:
    field1: some content
    field2: more content
"
);
#> $simpleObject
#> $simpleObject$field1
#> [1] "some content"
#> 
#> $simpleObject$field2
#> [1] "more content"
#> 
#>