GJSON
Look up a path inside JSON text directly from Go.
tidwall · Data and documents
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/tidwall/gjson at v1.20.6. Read the second item in a small fictional list without decoding the entire record.
What we tested
v1.20.6. Read the second item in a small fictional list without decoding the entire record. Found seeds at the requested list index.
Reviews
Rate this repoMore to explore
- GoAWKFilter and calculate over text and tabular data with AWK.GitHub projectOpen source
- pupSelect text and elements from local HTML using terminal commands.GitHub projectOpen source
- fx JSON toolExplore or transform JSON data in a terminal.GitHub projectOpen source