func quoteIfNeeded()

in convert.go [307:313]


func quoteIfNeeded(s string) string {
	if !isPrint(s) {
		return strconv.Quote(s)
	}

	return s
}