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) Marshal ¶
func (e *JsonEncoder) Marshal(v interface{}) ([]byte, error)
func (*JsonEncoder) Unmarshal ¶
func (e *JsonEncoder) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.