json

package
v0.0.0-...-e20679b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FailedDecode = "%s serializer.json.Decode"
	FailedEncode = "%s serializer.json.Encode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Serializer

type Serializer struct {
}

func (*Serializer) Decode

func (s *Serializer) Decode(input []byte, dst interface{}) error

func (*Serializer) DecodeIoReader

func (s *Serializer) DecodeIoReader(input io.Reader, dst interface{}) error

func (*Serializer) Encode

func (s *Serializer) Encode(input interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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