We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ac162 commit de82dbdCopy full SHA for de82dbd
stream_str.go
@@ -315,7 +315,7 @@ func (stream *Stream) WriteString(s string) {
315
i := 0
316
for ; i < valLen; i++ {
317
c := s[i]
318
- if c > 31 && c != '"' && c != '\\' {
+ if c < utf8.RuneSelf && safeSet[c] {
319
stream.buf = append(stream.buf, c)
320
} else {
321
break
0 commit comments