Xe
json - GoDoc

Toggle navigation GoDoc Home Index About Go: encoding / json Index | Examples | Files import "encoding/json" Package json implements encoding and decoding of JSON objects as defined in RFC 4627 . The mapping between JSON objects and Go values is described in the documentation for the Marshal and Unmarshal functions. See "JSON and Go" for an introduction to this package: http://golang.org/doc/articles/json_and_go.html ΒΆ func Compact(dst *bytes.Buffer, src []byte) error func HTMLEscape(dst *bytes.Buffer, src []byte) func Indent(dst *bytes.Buffer, src []byte, prefix, indent string) error func Marshal(v interface{}) ([]byte, error) func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) func Unmarshal(data []byte, v interface{}) error type Decoder func NewDecoder(r io.Reader) *Decoder func (dec *Decoder) Buffered() io.Reader func (dec *D...

Linked on 2015-03-06 16:55:39 | Similar Links