Documentation ¶
Overview ¶
Package types implements types which can be unmarshaled from json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringMap ¶ added in v0.4.0
StringMap stores a list of key=value or key: value as a map.
func (*StringMap) UnmarshalJSON ¶ added in v0.4.0
UnmarshalJSON sets *r to a copy of data.
type StringOrStringSlice ¶
type StringOrStringSlice []string
StringOrStringSlice stores a single string or a slice as a slice.
func (*StringOrStringSlice) UnmarshalJSON ¶
func (r *StringOrStringSlice) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *r to a copy of data.
Click to show internal directories.
Click to hide internal directories.