...

Package unquote

import "github.com/bytedance/sonic/unquote"
Overview
Index

Overview ▾

func IntoBytes

func IntoBytes(s string, m *[]byte) types.ParsingError

IntoBytes is same with String besides it output result into a buffer m

func String

func String(s string) (ret string, err types.ParsingError)

String unescapes a escaped string (not including `"` at begining and end) It validates invalid UTF8 and replace with `\ufffd`