You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func main() {
var v map[string][2]float64
var err = json.Unmarshal([]byte(`{"a": [350, 350]}`), &v)
fmt.Println(err)
}
Browser: Chrome Version 59.0.3071.115 (Official Build) (64-bit) on Linux
Result: JavaScript error: ap.$get is not a function
Expected Result: <nil>
Making the array a slice fixes the problem.