codec

package
v1.5.38 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecJSON

func DecJSON(s []byte, v interface{}) error

DecJSON decode byte json into struct or map.

func DecJSONReader

func DecJSONReader(s io.Reader, v interface{}) error

DecJSONReader decode Reader json into struct or map.

func EncJSON

func EncJSON(v interface{}, s *[]byte) error

EncJSON encode struct or map data into byte json.

func EncJSONWriter

func EncJSONWriter(v interface{}, s io.Writer) error

EncJSONWriter encode Writer data into byte json.

Types

This section is empty.

Jump to

Keyboard shortcuts

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