package
0.0.1
Repository: https://github.com/gooxion/sonic.git
Documentation: pkg.go.dev

# Functions

Encode returns the JSON encoding of val, encoded with opts.
EncodeIndented is like Encode but applies Indent to format the output.
EncodeInto is like Encode but uses a user-supplied buffer instead of allocating a new one.
Pretouch compiles vt ahead-of-time to avoid JIT compilation on-the-fly, in order to reduce the first-hit latency.
Quote returns the JSON-quoted version of s.

# Constants

SortMapKeys indicate that the keys of a map needs to be sorted before serializing into JSON.

# Structs

Encoder represents a specific set of encoder configurations.

# Type aliases

Options is a set of encoding options.