gojsonq v2.2.1 Release Notes
Release Date: 2019-05-07 // almost 5 years ago-
Fix select attributes for First,Last & Nth methods
res := gojsonq.New().File("./data.json").From("items").Select("name", "price").First() fmt.Printf("%#v\n", res)
Output
map[string]interface {}{"name":"MacBook Pro 13 inch retina", "price":1350}