jqer

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JqStartToken lexer.TokenType = iota
	JsStartToken
	StringToken
	ErrorToken
	NoToken
)

Variables

View Source
var (
	StringQueryRequiresWrappings bool
	TrimWhitespaceOnQueryStrings bool

	SearchInStrings   bool
	WrappingBegin     = ""
	WrappingIncrement = "{{"
	WrappingDecrement = "}}"
)

Functions

func Evaluate

func Evaluate(data, query interface{}) ([]interface{}, error)

Evaluate evaluates the data against the query provided and returns the result.

func JqState added in v0.6.1

func JqState(l *lexer.L) lexer.StateFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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