json

package
v0.0.0-...-8a04a08 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonEncoder

type JsonEncoder struct{}

func NewEncoder

func NewEncoder() *JsonEncoder

func (*JsonEncoder) ContentType

func (e *JsonEncoder) ContentType() string

func (*JsonEncoder) Decode

func (e *JsonEncoder) Decode(r io.Reader, v interface{}) error

func (*JsonEncoder) Encode

func (e *JsonEncoder) Encode(w io.Writer, v interface{}) error

func (*JsonEncoder) Marshal

func (e *JsonEncoder) Marshal(v interface{}) ([]byte, error)

func (*JsonEncoder) Unmarshal

func (e *JsonEncoder) Unmarshal(data []byte, v interface{}) error

Jump to

Keyboard shortcuts

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