Documentation ¶
Index ¶
- func Marshal(w io.Writer, v interface{}) error
- func NewDecoder(r io.Reader) *jsoniter.Decoder
- func NewEncoder(w io.Writer) *jsoniter.Encoder
- func Unmarshal(r io.Reader, v interface{}) error
- func UnmarshalRaw(raw RawMessage, v interface{}) error
- func UnmarshalZlib(r io.Reader, v interface{}) error
- type RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDecoder ¶
NewDecoder creates a new JSON decoder.
func NewEncoder ¶
NewEncoder creates a new JSON encoder.
func UnmarshalRaw ¶
func UnmarshalRaw(raw RawMessage, v interface{}) error
UnmarshalRaw decodes a raw JSON message into v.
func UnmarshalZlib ¶
UnmarshalZlib is a helper func to decompress a zlib stream and unmarshal JSON.
Types ¶
type RawMessage ¶
type RawMessage jsoniter.RawMessage
RawMessage is an alias for jsoniter.RawMessage
Click to show internal directories.
Click to hide internal directories.