json

package
v0.0.0-...-5a4b8d9 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exports = map[string]interface{}{
	"_name":         "encoding/json",
	"decoder":       json.NewDecoder,
	"encoder":       json.NewEncoder,
	"marshal":       json.Marshal,
	"marshalIndent": json.MarshalIndent,
	"pretty":        Pretty,
	"unmarshal":     Unmarshal,
	"compact":       json.Compact,
	"indent":        json.Indent,
	"htmlEscape":    json.HTMLEscape,

	"NewDecoder":    json.NewDecoder,
	"NewEncoder":    json.NewEncoder,
	"Marshal":       json.Marshal,
	"MarshalIndent": json.MarshalIndent,
	"Pretty":        Pretty,
	"Unmarshal":     Unmarshal,
	"Compact":       json.Compact,
	"Indent":        json.Indent,
	"HTMLEscape":    json.HTMLEscape,
}

Exports is the export table of this module.

Functions

func Pretty

func Pretty(v interface{}) string

Pretty prints a value in pretty mode.

func Unmarshal

func Unmarshal(b interface{}) (v interface{}, err error)

Unmarshal unmarshals a []byte or string

Types

This section is empty.

Jump to

Keyboard shortcuts

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