eval

package
v0.3.0-build.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluate

type Evaluate func(jsonpathExpression string, obj interface{}) ([]interface{}, error)

type Evaluator

type Evaluator struct {
	Evaluate Evaluate
}

func EvaluatorBuilder

func EvaluatorBuilder() Evaluator

func (Evaluator) EvaluateJsonPath

func (e Evaluator) EvaluateJsonPath(path string, obj interface{}) (interface{}, error)

type JsonPathDoesNotExistError added in v0.2.0

type JsonPathDoesNotExistError struct {
	Path string
}

func (JsonPathDoesNotExistError) Error added in v0.2.0

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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