Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalIndent ¶
MarshalIndent is like Marshal but applies Indent to format the output.
func NewDecoder ¶
NewDecoder returns a new JSON decoder.
func NewEncoder ¶
NewEncoder returns a new JSON encoder.
Types ¶
type RawMessage ¶
type RawMessage jsonstd.RawMessage
RawMessage is a raw encoded JSON value.
func (*RawMessage) MarshalJSON ¶
func (m *RawMessage) MarshalJSON() ([]byte, error)
MarshalJSON returns m as the JSON encoding of m.
func (*RawMessage) UnmarshalJSON ¶
func (m *RawMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *m to a copy of data.
type SyntaxError ¶
type SyntaxError = jsonstd.SyntaxError
Click to show internal directories.
Click to hide internal directories.