json

package
v2.7.20+incompatible Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 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,
}

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