pub(crate) fn unescape_segment(segment: &str) -> String
A path segment with its JSON Pointer escapes (~1 for /, ~0 for ~) undone.
~1
/
~0
~