How To Install golang-github-exponent-io-jsonpath-devel on Fedora 36

In this tutorial we learn how to install golang-github-exponent-io-jsonpath-devel in Fedora 36. golang-github-exponent-io-jsonpath-devel is Extend the Go runtime’s json.Decoder

Introduction

In this tutorial we learn how to install golang-github-exponent-io-jsonpath-devel on Fedora 36.

What is golang-github-exponent-io-jsonpath-devel

This package extends the json.Decoder to support navigating a stream of JSON tokens. You should be able to use this extended Decoder places where a json.Decoder would have been used. This Decoder has the following enhancements – The Scan method supports scanning a JSON stream while extracting particular values along the way using PathActions. – The SeekTo method supports seeking forward in a JSON token stream to a particular path. – The Path method returns the path of the most recently parsed token. – The Token method has been modified to distinguish between strings that are object keys and strings that are values. Object key strings are returned as the KeyString type rather than a native string. This package contains the source code needed for building packages that reference the following Go import paths – github.com/exponent-io/jsonpath

We can use yum or dnf to install golang-github-exponent-io-jsonpath-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-exponent-io-jsonpath-devel.

Install golang-github-exponent-io-jsonpath-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install golang-github-exponent-io-jsonpath-devel using dnf by running the following command:

sudo dnf -y install golang-github-exponent-io-jsonpath-devel

Install golang-github-exponent-io-jsonpath-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install golang-github-exponent-io-jsonpath-devel using yum by running the following command:

sudo yum -y install golang-github-exponent-io-jsonpath-devel

How To Uninstall golang-github-exponent-io-jsonpath-devel on Fedora 36

To uninstall only the golang-github-exponent-io-jsonpath-devel package we can use the following command:

sudo dnf remove golang-github-exponent-io-jsonpath-devel

golang-github-exponent-io-jsonpath-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-exponent-io-jsonpath-devel
/usr/share/doc/golang-github-exponent-io-jsonpath-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/exponent-io
/usr/share/gocode/src/github.com/exponent-io/jsonpath
/usr/share/gocode/src/github.com/exponent-io/jsonpath/.goipath
/usr/share/gocode/src/github.com/exponent-io/jsonpath/README.md
/usr/share/gocode/src/github.com/exponent-io/jsonpath/decoder.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/decoder_test.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/example_test.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/go.mod
/usr/share/gocode/src/github.com/exponent-io/jsonpath/path.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/path_test.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/pathaction.go
/usr/share/gocode/src/github.com/exponent-io/jsonpath/pathaction_test.go
/usr/share/licenses/golang-github-exponent-io-jsonpath-devel
/usr/share/licenses/golang-github-exponent-io-jsonpath-devel/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-exponent-io-jsonpath-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).