Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendEscaped ¶
AppendEscaped appends the JSON escaped form of a string to a buffer.
func AppendUnescaped ¶
AppendUnescaped appends the unescaped form of a JSON string to a buffer. It's a convenience wrapper around Unescape([]byte, string) int
func Escaped ¶
Escaped returns the JSON escaped form of string. It allocates a new string so if possible use AppendEscaped for best performance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.