Documentation
¶
Overview ¶
Package json provides configurable interfaces for JSON encoding and decoding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Marshal marshals the given value into a JSON string. Marshal = json.Marshal // Unmarshal unmarshals the given JSON string into v. Unmarshal = json.Unmarshal // Merge merges two JSON objects into one. Merge = SimpleMerge // MarshalIndent marshals the given value into a JSON string with indentation. MarshalIndent = json.MarshalIndent // Indent is the indentation used in MarshalIndent. Indent = json.Indent // NewEncoder returns a new JSON encoder that writes to w. NewEncoder = json.NewEncoder // NewDecoder returns a new JSON decoder that reads from r. NewDecoder = json.NewDecoder )
Functions ¶
Types ¶
type Unmarshaler ¶
type Unmarshaler = json.Unmarshaler
Unmarshaler is the interface implemented by types that can unmarshal a JSON description of themselves.
Click to show internal directories.
Click to hide internal directories.
