codec

package
v0.0.0-...-32b710e Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0, BSD-3-Clause, 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