jq

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package jq compiles jq programs, so the gojq parse-then-compile pair lives in one place for every caller that queries JSON - the http provider's extractor and the sidecar locator alike. It deliberately adds no error context: the caller knows whether the program came from an http jq= or a sidecar locator and wraps the error accordingly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(expr string) (*gojq.Code, error)

Compile parses and compiles a jq program, returning the gojq error unwrapped so the caller can frame it in its own terms.

Types

This section is empty.

Jump to

Keyboard shortcuts

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