Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MarshalIndent = stdjson.MarshalIndent Indent = stdjson.Indent NewEncoder = stdjson.NewEncoder Valid = stdjson.Valid )
View Source
var ( Marshal = json.Marshal Unmarshal = json.Unmarshal NewDecoder = json.NewDecoder )
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 = stdjson.RawMessage
Click to show internal directories.
Click to hide internal directories.