Help us shape the future of Go! Take the 2026 Go Developer Survey

json

package
v22.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

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

Marshal is a wrapper around json Marshal

func MarshalIndent

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

MarshalIndent is a wrapper around json MarshalIndent

func Unmarshal

func Unmarshal(jsoned []byte, out interface{}) error

Unmarshal is a wrapper around json Unmarshal

Types

This section is empty.

Jump to

Keyboard shortcuts

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