encoding

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeNil = iota
	TypeBool
	TypeInt
	TypeFloat
	TypeString
	TypeSlice
	TypeArray
	TypeObject
)

supported list of reader types.

Variables

This section is empty.

Functions

func Decode

func Decode(data io.Reader) (map[string]interface{}, error)

Decode decodes input stream of data into map[string]interface{}.

func EncodeTree

func EncodeTree(w io.Writer, tree map[string]any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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