Help us shape the future of Go! Take the 2026 Go Developer Survey

json

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec[T any] struct {
}

func New

func New[T any]() *Codec[T]

func (*Codec[T]) Decode

func (c *Codec[T]) Decode(b []byte, data *T) (err error)

func (*Codec[T]) Encode

func (c *Codec[T]) Encode(data T) (b []byte, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL