unquote
v1.15.5
github.com/bytedance/sonic/unquote
Documentation
pkg.go.dev ↗Functions
IntoBytes
func IntoBytes(s string, m *[]byte) types.ParsingError
IntoBytes is same with String besides it output result into a buffer m
String
func String(s string) (ret string, err types.ParsingError)
String unescapes an escaped string (not including `"` at beginning and end) It validates invalid UTF8 and replace with `\ufffd`