KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
go-jq
★ 10
Open GitHub ↗
Go bindings for jq inspired by ruby-jq.
Download README (.md)
Explore Similar Repositories
Linear-Regression
:
Programming assignment 1 in Machine Learning course by Andrew Ng on Coursera
grunt-karma-sonar
:
Grunt plugin for integrating karma reports with sonar
wp-onebox
:
A Fancy Hyperlink Display Plugin for WordPress
grunt-file-info
:
Automate template-driven updates of project file stats to project documentation.
MySublimeQL
:
A Sublime Text 2 plugin to autocomplete for SQL scripts using a mysql connection to provide database table/column names
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
go-jq
?
Download (.md)
# go-jq Go bindings for jq inspired by ruby-jq. see [http://stedolan.github.io/jq/](http://stedolan.github.io/jq/). see [https://bitbucket.org/winebarrel/ruby-jq](https://bitbucket.org/winebarrel/ruby-jq). ## Installation First, please install libjq from HEAD of [git repository](https://github.com/stedolan/jq). ```sh git clone https://github.com/stedolan/jq.git cd jq autoreconf -i ./configure --enable-shared make sudo make install sudo ldconfig ``` ## Usage ```go package main import ( "github.com/bongole/go-jq" "fmt" ) func main(){ src := "{ \"foo\": 1 }" jq := jq.New(src) err := jq.Search(".foo", func(d interface{}){ i := d.(float64) fmt.Printf("%f", i) }) if err != nil { fmt.Printf("%s", err) } } ``` ## License * MIT