jq

package
v0.0.0-...-3371691 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v interface{}) (bool, error)

Bool converts interface to bool

func Float64

func Float64(v interface{}) (float64, error)

Float64 converts interface to float64

func Int64

func Int64(v interface{}) (int64, error)

Int64 converts interface to int64

func Query

func Query(query *gojq.Query, input []byte) (interface{}, error)

Query executes a compiled jq query against given json. It expects a single result only.

func String

func String(v interface{}) (string, error)

String converts interface to string

Types

This section is empty.

Jump to

Keyboard shortcuts

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