Error after ugpgrade to v1.17.1
Hi! After the recent upgrade to v1.17.1, builds are failing with this error:
encode.go:1260:12: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
Confirmed with go1.14.15 and go1.16.5.
You will need GO > 1.17 for this to work from now on. The reflect package has been updated to include this new function, so the mod file in this repo should probably be updated to reflect (pun intended) this.
I had to go back to
go get github.com/clarketm/[email protected]
for it to work for me with GO 1.16.4
This should be documented in the go.mod
https://github.com/clarketm/json/pull/6