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
When I try (and fail) to decode it using gojay like this:
err := dec.DecodeObject(lm)
The returned error is nil but the error in this file on this lines
(dec.err) show that it's an invalid input ("Cannot unmarshal JSON to type '*decoder.LogMessage'")
This generates an error in the error handling code because there's no error returned.
The text was updated successfully, but these errors were encountered:
So I have a process that's writing this to a file
When I try (and fail) to decode it using gojay like this:
The returned error is nil but the error in this file on this lines
(dec.err) show that it's an invalid input ("Cannot unmarshal JSON to type '*decoder.LogMessage'")
This generates an error in the error handling code because there's no error returned.
The text was updated successfully, but these errors were encountered: