jsonutil

module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0

README

jsonutil

This module augments Go's native JSON library with additional types and support for the JSONPath query language.

Commands

jpq

This small utility command is useful for testing JSONPath queries. It reads a JSON document from standard input and runs a query against it read from the program argument (similar to jq).

Packages

types

This package provides additional type adapters for Go's JSON library.

jsonpath

This package provides a query language that is generally compatible with JSONPath. It also supports placeholders in objects, a unique feature derived from the implementation by Paessler, which can put one or more components from the path used to reach a selected value into an object key.

jsonpath/template

This package adapts the JSONPath package to the format used by kubectl, which provides additional support for looping constructs.

Directories

Path Synopsis
cmd
jpq
pkg
jsonpath
Package jsonpath implements a language that can process JSONPath expressions (https://goessner.net/articles/JsonPath/).
Package jsonpath implements a language that can process JSONPath expressions (https://goessner.net/articles/JsonPath/).
jsonpath/template
Package template implements the JSONPath template format used by kubectl.
Package template implements the JSONPath template format used by kubectl.

Jump to

Keyboard shortcuts

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