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
I was migrating some marshalling code to use this library over the standard library (thank you for making it!) and encountered this error. Note that the stdlib reports a nil error with data, while segmentio/encoding/json returns an error. i
pelletier
changed the title
Bug: Marshalling Fails with Interface members when they are nil
Marshalling fails with Interface members when they are nil
Dec 6, 2019
I was migrating some marshalling code to use this library over the standard library (thank you for making it!) and encountered this error. Note that the stdlib reports a nil error with data, while
segmentio/encoding/json
returns an error. iMinimal repro:
Output when using
encoding/json
:with
github.com/segmentio/encoding/json
:The text was updated successfully, but these errors were encountered: