Skip to content

v1.14.1

@tidwall tidwall tagged this 19 Apr 22:14
The only purpose of using the built-in Go was to encode json
strings that had unicode or needed to escaped.

This commit adds the new function `AppendJSONString` which allows
for appending strings as their json representation to a byte
slice.

It's about 2x faster than using json.Marshal.
Assets 2