Documentation ¶
Index ¶
- type JSONMarshaller
- func (*JSONMarshaller) ContentType() string
- func (*JSONMarshaller) Delimiter() []byte
- func (j *JSONMarshaller) Marshal(v interface{}) ([]byte, error)
- func (j *JSONMarshaller) NewDecoder(r io.Reader) gwruntime.Decoder
- func (j *JSONMarshaller) NewEncoder(w io.Writer) gwruntime.Encoder
- func (j *JSONMarshaller) Unmarshal(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMarshaller ¶
type JSONMarshaller struct{}
func (*JSONMarshaller) ContentType ¶
func (*JSONMarshaller) ContentType() string
func (*JSONMarshaller) Delimiter ¶
func (*JSONMarshaller) Delimiter() []byte
func (*JSONMarshaller) Marshal ¶
func (j *JSONMarshaller) Marshal(v interface{}) ([]byte, error)
func (*JSONMarshaller) NewDecoder ¶
func (j *JSONMarshaller) NewDecoder(r io.Reader) gwruntime.Decoder
func (*JSONMarshaller) NewEncoder ¶
func (j *JSONMarshaller) NewEncoder(w io.Writer) gwruntime.Encoder
func (*JSONMarshaller) Unmarshal ¶
func (j *JSONMarshaller) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.