Closed thedevsaddam closed 5 years ago
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)