Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InvalidUTF8Error ¶
type InvalidUTF8Error struct {
S string
}
func (*InvalidUTF8Error) Error ¶
func (e *InvalidUTF8Error) Error() string
type Marshaler ¶
Marshaler is the interface implemented by objects that can marshal themselves into valid JSON.
type MarshalerError ¶
func (*MarshalerError) Error ¶
func (e *MarshalerError) Error() string
type Number ¶
type Number string
A Number represents a JSON number literal.
type UnsupportedTypeError ¶
An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.
func (*UnsupportedTypeError) Error ¶
func (e *UnsupportedTypeError) Error() string
type UnsupportedValueError ¶
func (*UnsupportedValueError) Error ¶
func (e *UnsupportedValueError) Error() string
Click to show internal directories.
Click to hide internal directories.