Function nccl::parse_string
[−]
[src]
pub fn parse_string(data: &str) -> Result<Pair, Vec<Box<Error>>>
Parses raw string data.
Examples:
let raw = nccl::parse_string("hello\n\tworld!").unwrap(); assert_eq!(raw["hello"].value_as::<String>().unwrap(), "world!");