Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Marshal = json.Marshal Unmarshal = json.Unmarshal MarshalIndent = json.MarshalIndent NewDecoder = json.NewDecoder NewEncoder = json.NewEncoder )
Functions ¶
func MustMarshal ¶
MustMarshal is similar to Marshal, but panics if found error.
func MustMarshalIndent ¶
MustMarshalIndent is similar to MarshalIndent, but panics if found error.
func MustUnmarshal ¶
MustUnmarshal is similar to Unmarshal, but panics if found error.
func ShouldMarshal ¶
ShouldMarshal is similar to Marshal, but never return error.
func ShouldMarshalIndent ¶
ShouldMarshalIndent is similar to MarshalIndent, but never return error.
func ShouldUnmarshal ¶
ShouldUnmarshal is similar to Unmarshal, but never return error.
Types ¶
type RawMessage ¶
type RawMessage = json.RawMessage
Click to show internal directories.
Click to hide internal directories.