diff options
Diffstat (limited to 'misc.go')
-rw-r--r-- | misc.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,6 +65,9 @@ const ( // JSON string. The `rune` argument is the character being // considered, and the `BackslashEscapeMode` argument is how it was // originally encoded in the input. +// +// The ReEncoder will panic if a BackslashEscaper returns an unknown +// BackslashEscapeMode. type BackslashEscaper = func(rune, BackslashEscapeMode) BackslashEscapeMode // EscapePreserve is a BackslashEscaper that preserves the original |