Extend the Go runtime's json.Decoder
18.22 KB
built 2026-10-29 09:05:28 GMT
Description
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
Dependencies
10 totalRequires5
- go-filesystem
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
- golang(github.com/exponent-io/jsonpath) = 0-18.20210109gite84ac1b.fc45
- golang(github.com/exponent-io/jsonpath)(commit=e84ac1befdf801204534123a52ef7232ccf9333d) = 0-18.20210109gite84ac1b.fc45
- golang-github-exponent-io-jsonpath-devel = 0-18.20210109gite84ac1b.fc45
- golang-ipath(github.com/exponent-io/jsonpath) = 0-18.20210109gite84ac1b.fc45
- golang-ipath(github.com/exponent-io/jsonpath)(commit=e84ac1befdf801204534123a52ef7232ccf9333d) = 0-18.20210109gite84ac1b.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
16
Files 1–16 of 16
Component of
buildroots that installed this RPMNo Buildroots
