package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Functions

Compact appends to dst the JSON-encoded src with insignificant space characters elided.
HTMLEscape appends to dst the JSON-encoded src with <, >, and & characters inside string literals changed to \u003c, \u003e, \u0026 so that the JSON will be safe to embed inside HTML <script> tags.
Indent appends to dst an indented form of the JSON-encoded src.
Marshal returns the JSON encoding of v.
MarshalIndent is like Marshal but applies Indent to format the output.
NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.
Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v.

# Structs

A Decoder reads and decodes JSON objects from an input stream.
An Encoder writes JSON objects to an output stream.
An InvalidUnmarshalError describes an invalid argument passed to Unmarshal.
No description provided by the author
No description provided by the author
A SyntaxError is a description of a JSON syntax error.
An UnmarshalFieldError describes a JSON object key that led to an unexported (and therefore unwritable) struct field.
An UnmarshalTypeError describes a JSON value that was not appropriate for a value of a specific Go type.
An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.
No description provided by the author

# Interfaces

Marshaler is the interface implemented by objects that can marshal themselves into valid JSON.
Unmarshaler is the interface implemented by objects that can unmarshal a JSON description of themselves.

# Type aliases

A Number represents a JSON number literal.
RawMessage is a raw encoded JSON object.