All Versions
15
Latest Version
Avg Release Cycle
52 days
Latest Release
1484 days ago

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 Result As method that solves issue #72

    Thanks, @Dragomir-Ivanov and @cifren !

  • v2.4.0 Changes

    November 20, 2019

    Result.As() supports all the available method in Result type except for the methods with an argument like Time

    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, 2019

    The 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, 2019

    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}
    
  • v2.2.0 Changes

    April 05, 2019

    Offset

    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, 2019

    Stable API; Add More method