jsonpath

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTemplate

func ExecuteTemplate(expression string, root any) ([]byte, error)

ExecuteTemplate renders expression against root and returns raw bytes exactly as the k8s JSONPath library produces them. No implicit newline is added.

func ValidateExpression

func ValidateExpression(expression string) error

ValidateExpression parses the expression and returns an error if it is syntactically invalid. Call this once up-front to give users a clear error before starting any expensive iteration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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