jsonpath

package
v0.0.0-...-ae485d8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(bytes []byte, expression string, expected interface{}) (bool, error)

Contains is a convenience function to assert that a jsonpath expression extracts a value in an array

func Equal

func Equal(bytes []byte, expression string, expected interface{}) (bool, error)

Equal is a convenience function to assert that a jsonpath expression extracts a value

func Len

func Len(bytes []byte, expression string, expectedLength int) (bool, error)

func NotEqual

func NotEqual(bytes []byte, expression string, expected interface{}) (bool, error)

Not Equal is a convenience function to assert that a jsonpath expression extracts a value

Types

This section is empty.

Jump to

Keyboard shortcuts

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