Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeNil = iota TypeBool TypeInt TypeFloat TypeString TypeSlice TypeArray TypeObject )
supported list of reader types.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Decoder ¶ added in v0.5.0
type Decoder struct {
// contains filtered or unexported fields
}
Decoder represents decoders for streaming data.
func NewDecoder ¶ added in v0.5.0
NewDecoder creates a new instance of Decoder.
type DecoderProvider ¶ added in v0.5.0
type DecoderProvider interface { // Next implements iterator pattern and return data set by set. Next() (map[string]interface{}, error) // Decode decodes all the data stream at once. Decode() (map[string]interface{}, error) }
DecoderProvider provides an interface to work with stream decoder.
Click to show internal directories.
Click to hide internal directories.