json

package
v0.22.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct{}

func NewEncoder

func NewEncoder() *Encoder

func (*Encoder) Decode

func (e *Encoder) Decode(b []byte, val interface{}) error

func (*Encoder) Encode

func (e *Encoder) Encode(val interface{}) ([]byte, error)

func (*Encoder) MustDecode

func (e *Encoder) MustDecode(b []byte, val interface{})

func (*Encoder) MustEncode

func (e *Encoder) MustEncode(val interface{}) []byte

Jump to

Keyboard shortcuts

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