codec

package
v1.5.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 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