| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2019-11-20 | 320 Bytes | |
| Update As method source code.tar.gz | 2019-11-20 | 54.0 kB | |
| Update As method source code.zip | 2019-11-20 | 57.3 kB | |
| Totals: 3 Items | 111.7 kB | 0 | |
Result.As() supports all the available method in Result type except for the methods with an argument like Time
:::go
result, _ := gojsonq.New().FromString(jsonStr).From("prices").GetR() // handle error
var prices []float32
result.As(&prices) // handle error
fmt.Printf("%#v\n", prices)