jq

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyJqFilter

func ApplyJqFilter(jqFilter string, jsonData []byte, libPath string) (string, error)

ApplyJqFilter runs jq expression provided in jqFilter with jsonData as input.

It uses libjq-go when CGO is enabled and executes jq binary if CGO is disabled or JQ_EXEC variable is set to "yes".

Types

This section is empty.

Jump to

Keyboard shortcuts

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