jsonsearch

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrJson = errors.New("invalid json")
)

Functions

This section is empty.

Types

type Parser

type Parser struct {
	FieldPaths []string
	// contains filtered or unexported fields
}

func NewParser

func NewParser(jsonData []byte, selector func(string) bool) *Parser

func (*Parser) Parse

func (p *Parser) Parse(fpath string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL