Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("invalid json")
Functions ¶
This section is empty.
Types ¶
type Bytes ¶
type Bytes []byte
func FromMap ¶
FromMap returns a JSON Bytes with sorted keys from the map.
If the map is invalid, it returns a JSON Bytes with the error.
Click to show internal directories.
Click to hide internal directories.