Closed right-mouse closed 3 years ago
v1.12.6 released with the fix.
Seems to work when Unmarshal is called on the json.Unmarshaler
directly, but it doesn't work if the json.Unmarshaler
is part of a struct. Updated playground example: https://play.golang.org/p/CygEQ9xDR2I
Please try the '32-bit' branch.
Works now. Thanks for the fix.
Thanks. I'll release when the 32bit fixes are verified.
oj.Unmarshal
doesn't seem to use custom unmarshaling rules defined by implementing the json.Unmarshaler interface.Simple playground example: https://play.golang.org/p/-cbMOSel_C6