json

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

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

func MarshalIndent

func MarshalIndent(v interface{}, prefix string, indent string) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

func Valid

func Valid(data []byte) bool

Types

type Marshaler

type Marshaler interface {
	json.Marshaler
}

type Unmarshaler

type Unmarshaler interface {
	json.Unmarshaler
}

Jump to

Keyboard shortcuts

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