Escape escapes a pointer reference token string. The JSONPointer specification defines "/" as a separator and "~" as an escape prefix. Keys containing such characters are escaped with the following rules: - "~" is escaped as "~0" - "/" is escaped as "~1"
(token string)
| 763 | // - "~" is escaped as "~0" |
| 764 | // - "/" is escaped as "~1" |
| 765 | func Escape(token string) string { |
| 766 | return decRefTokReplacer.Replace(token) |
| 767 | } |
no outgoing calls
searching dependent graphs…