jq

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrJSONIsNotValid = errors.New("json is not valid")

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

func NewQuery

func NewQuery(query string) (*Query, error)

func (*Query) FilterObject

func (q *Query) FilterObject(ctx context.Context, v any) (*Result, error)

func (*Query) FilterStringObject

func (q *Query) FilterStringObject(ctx context.Context, str string) (*Result, error)

type Result

type Result struct {
	// contains filtered or unexported fields
}

func (*Result) String

func (res *Result) String() string

func (*Result) TypeOf

func (res *Result) TypeOf() string

Jump to

Keyboard shortcuts

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