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
Internally, the IsNilableTypeFlags is set (because it's a map) and IndirectFlags is set (because it's a value type in a map), causing vm.go:269 to try and dereference the map. However, since it's a map, this breaks and returns 1, causing the panic once MarshalJSON is invoked.
The text was updated successfully, but these errors were encountered:
When a map is marshaled where the value type is another map with custom
MarshalJSON
, go-json panics:Results in:
Internally, the
IsNilableTypeFlags
is set (because it's a map) andIndirectFlags
is set (because it's a value type in a map), causing vm.go:269 to try and dereference the map. However, since it's a map, this breaks and returns 1, causing the panic onceMarshalJSON
is invoked.The text was updated successfully, but these errors were encountered: