Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnakeMarshaller ¶
type SnakeMarshaller struct {
Value interface{}
}
SnakeMarshaller writes JSON with default snake_case property names.
func (SnakeMarshaller) MarshalJSON ¶
func (c SnakeMarshaller) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
Click to show internal directories.
Click to hide internal directories.