json

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MonochromeOutput = false

Functions

func NewEncoder

func NewEncoder(tab bool, indent int) *encoder

func PrintJson

func PrintJson(json string) error

func PrintJsonToStderr added in v0.5.0

func PrintJsonToStderr(json string) error

func RunJQ added in v0.7.0

func RunJQ(queryStr string, result interface{}) (interface{}, error)

func ToJson

func ToJson(args []string, noWrapping bool, compliant bool, attributes map[string]*resources.CrudEntityAttribute) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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