Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
Marshal serializes v to JSON using the fast encoder. This is a drop-in replacement for encoding/json.Marshal but is 2-3x faster.
func MarshalIndent ¶
MarshalIndent is like Marshal but applies indentation for pretty-printing.
func NewDecoder ¶
NewDecoder creates a new JSON decoder that reads from r. This is a drop-in replacement for encoding/json.NewDecoder.
func NewEncoder ¶
NewEncoder creates a new JSON encoder that writes to w. This is a drop-in replacement for encoding/json.NewEncoder but uses the faster goccy/go-json implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.