pub fn segments(path: &str) -> Result<Vec<String>, DataError>
The segments of a JSON Pointer, unescaped, with empty segments dropped. Refuses the forbidden segments.