Lines Matching defs:root
172 /// the root element of a JSON parser is either an object or an array
173 fn root<'a, E: ParseError<&'a str> + ContextError<&'a str>>(
234 root::<(&str, ErrorKind)>(data)
254 // basic errors - `root::<(&str, ErrorKind)>(data)`:
264 "basic errors - `root::<(&str, ErrorKind)>(data)`:\n{:#?}\n",
265 root::<(&str, ErrorKind)>(data)
300 println!("parsed verbose: {:#?}", root::<VerboseError<&str>>(data));
302 match root::<VerboseError<&str>>(data) {
308 // verbose errors - `root::<VerboseError>(data)`:
322 "verbose errors - `root::<VerboseError>(data)`:\n{}",
329 assert!(root::<(&str, ErrorKind)>("null").is_ok());