Documentation
¶
Overview ¶
Package json contains marshaler implementations that use Go's standard JSON marshaling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct{}
Codec is an implementation of marshaling.Codec that uses Go's standard JSON implementation.
func (*Codec) MediaType ¶
MediaType returns the media-type used to identify data encoded by this codec.
func (*Codec) Query ¶
func (*Codec) Query(types []reflect.Type) marshaling.CodecCapabilities
Query returns the capabilities of the codec for the given types.
Click to show internal directories.
Click to hide internal directories.