Documentation ¶
Index ¶
- func Marshal(v interface{}) ([]byte, error)
- func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error)
- func MarshalToString(v interface{}) (string, error)
- func NewDecoder(reader io.Reader) *jsoniter.Decoder
- func NewEncoder(writer io.Writer) *jsoniter.Encoder
- func Unmarshal(data []byte, v interface{}) error
- func UnmarshalFromString(data string, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalIndent ¶
MarshalIndent function using jsoniter.
func MarshalToString ¶
MarshalToString function using jsoniter.
func NewDecoder ¶
NewDecoder function to return jsoniter.Decoder.
func NewEncoder ¶
NewEncoder function to return jsoniter.Encoder.
func UnmarshalFromString ¶
UnmarshalFromString function using jsoniter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.