Extend the Go runtime's json.Decoder
23.77 KB
built 2026-10-29 09:05:10 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.
Dependencies
6 totalRequires5
- go-rpm-macros
- golang(github.com/stretchr/testify/assert)
- golang(github.com/stretchr/testify/require)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- golang-github-exponent-io-jsonpath-devel = 0-18.20210109gite84ac1b.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| golang-github-exponent-io-jsonpath.spec | 4.36 KB |
| jsonpath-e84ac1befdf801204534123a52ef7232ccf9333d.tar.gz | 8.71 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
