json

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Zlib Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefMarshal = &Marshal{}
View Source
var DefUnmarshal = &Unmarshal{}

Functions

func MarshalString added in v1.0.56

func MarshalString(o interface{}) string

MarshalString 序列化参数

func Read added in v0.1.2

func Read(name string, v interface{}) error

Types

type Marshal added in v0.1.2

type Marshal struct {
}

func (*Marshal) Marshal added in v1.0.56

func (j *Marshal) Marshal(v interface{}) ([]byte, error)

type Unmarshal added in v1.0.56

type Unmarshal struct {
}

func (*Unmarshal) Unmarshal added in v1.0.56

func (j *Unmarshal) Unmarshal(content []byte, v interface{}) error

Jump to

Keyboard shortcuts

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