-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
With the following document:
hello:
world: this is a string
--- still a stringand the reproduction code:
use saphyr::{LoadableYamlNode, Yaml};
fn main() {
let documents = Yaml::load_from_str(include_str!("document.yaml"));
println!("{:#?}", documents);
}You get an error back:
Err(
ScanError {
mark: Marker {
index: 37,
line: 3,
col: 4,
},
info: "unexpected end of plain scalar",
},
)
Tools like yq parse this perfectly fine:
$ yq '.' src/document.yaml
hello:
world: this is a string --- still a string
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels