Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSON ¶
type JSON struct {
StringVal string
BoolVal bool
ArrayVals []interface{}
ObjectVals map[string]interface{}
ValueType ValueType
Err error
}
JSON parsed result
type JsonParser ¶
type JsonParser struct {
TotalReadSize uint64
// contains filtered or unexported fields
}
func NewJSONParser ¶
func NewJSONParser(reader *bufio.Reader, loopProp string) *JsonParser
func (*JsonParser) Parse ¶ added in v1.3.0
func (j *JsonParser) Parse() []*JSON
func (*JsonParser) SkipProps ¶
func (j *JsonParser) SkipProps(skipProps []string) *JsonParser
func (*JsonParser) Stream ¶
func (j *JsonParser) Stream() chan *JSON
Click to show internal directories.
Click to hide internal directories.