| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Add support for Result instance source code.tar.gz | 2019-09-23 | 51.6 kB | |
| Add support for Result instance source code.zip | 2019-09-23 | 55.2 kB | |
| README.md | 2019-09-23 | 327 Bytes | |
| Totals: 3 Items | 107.1 kB | 0 | |
The Result instance will return different methods to get static type.
:::go
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)