Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Marshal = func(v interface{}) ([]byte, error) { if em, ok := v.(easyjson.Marshaler); ok { return easyjson.Marshal(em) } return json.Marshal(v) }
View Source
var MarshalIndent = json.MarshalIndent
View Source
var NewDecoder = jsoniter.ConfigFastest.NewDecoder
View Source
var NewEncoder = json.NewEncoder
View Source
var Unmarshal = func(data []byte, v interface{}) error { if em, ok := v.(easyjson.Unmarshaler); ok { return easyjson.Unmarshal(data, em) } return jsoniter.ConfigFastest.Unmarshal(data, v) }
Functions ¶
This section is empty.
Types ¶
type RawMessage ¶
type RawMessage = json.RawMessage
Click to show internal directories.
Click to hide internal directories.