json

package
v0.0.0-...-e7f8917 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exports = map[string]interface{}{
	"_name": "encoding/json",

	"compact":       json.Compact,
	"HTMLEscape":    json.HTMLEscape,
	"indent":        json.Indent,
	"marshal":       json.Marshal,
	"marshalIndent": json.MarshalIndent,
	"unmarshal":     json.Unmarshal,

	"Decoder": qlang.StructOf((*json.Decoder)(nil)),
	"decoder": json.NewDecoder,
	"Encoder": qlang.StructOf((*json.Encoder)(nil)),
	"encoder": json.NewEncoder,
}

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