All Versions
15
Latest Version
Avg Release Cycle
52 days
Latest Release
1169 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.5.2 Changes
March 27, 2020๐ While using
reset()
method, the error was not resetting. See issue #80 -
v2.5.1 Changes
March 11, 2020๐ Fix go mod issue #78
-
v2.5.0 Changes
January 13, 2020โ Add
FromInterface
method that solves issue #67
๐ Fix ResultAs
method that solves issue #72Thanks, @Dragomir-Ivanov and @cifren !
-
v2.4.0 Changes
November 20, 2019Result.As()
supports all the available method in Result type except for the methods with an argument likeTime
result, \_ := gojsonq.New().FromString(jsonStr).From("prices").GetR() // handle errorvar prices []float32result.As(&prices) // handle errorfmt.Printf("%#v\n", prices)
-
v2.3.0 Changes
September 23, 2019The Result instance will return different methods to get static type.
const json = `{"name":{"first":"Tom","last":"Hanks"},"age":61}`result, err := gojsonq.New().JSONString(json).FindR("name.first")if err != nil { log.Fatal(err) }name, \_ := result.String() fmt.Println(name)
-
v2.2.2
May 27, 2019 -
v2.2.1 Changes
May 07, 2019Fix 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}
-
v2.2.0 Changes
April 05, 2019Offset
gojsonq.New().File("./data.json").From("items").Offset(10).Limit(10).Get()
Writer
gojsonq.New().File("./data.json").From("items").SortBy("price").Writer(os.Stdout)
FromString
gojsonq.New().FromString(jsonStr).From("items").Get()
-
v2.0.1 Changes
February 20, 2019๐ Fix separator issue for deep sort and alias see pr #40
-
v2.0.0 Changes
February 20, 2019Stable API; Add More method