jsoncodec

package
v4.0.0-beta.18 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v any) ([]byte, error)

func Reset

func Reset()

func SetDecoder

func SetDecoder(decoder Decoder)

func SetEncoder

func SetEncoder(encoder Encoder)

func Unmarshal

func Unmarshal(data []byte, v any) error

Types

type Decoder

type Decoder func(data []byte, v any) error

func GetDecoder

func GetDecoder() Decoder

type Encoder

type Encoder func(v any) ([]byte, error)

func GetEncoder

func GetEncoder() Encoder

Jump to

Keyboard shortcuts

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