Documentation ¶
Overview ¶
Package jq facilitates processing of JSON strings using jq expressions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Evaluate ¶
Evaluate a jq expression against an input and write it to an output. Any top-level scalar values produced by the jq expression are written out directly, as raw values and not as JSON scalars, similar to how jq --raw works.
func EvaluateFormatted ¶
func EvaluateFormatted(input io.Reader, output io.Writer, expr string, indent string, colorize bool) error
Evaluate a jq expression against an input and write it to an output, optionally with indentation and colorization. Any top-level scalar values produced by the jq expression are written out directly, as raw values and not as JSON scalars, similar to how jq --raw works.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.