go type_error official true

json.UnmarshalTypeError

ID: go/json-unmarshaltypeerror

Also available as: JSON · Markdown
80%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
1.x active

Root Cause

JSON value does not match target type. Expected number but got string, or vice versa.

generic