gojsonq v2.4.0 Release Notes

Release Date: 2019-11-20 // over 4 years ago
  • 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)