marshmallow
marshmallow copied to clipboard
Support any types that has UnmarshalJSON/MarshalJSON method
I wonder if you could support non-primitive types such as time.Time just like the standard json.Unmarshal json.Marshal does. I only need it when such types implemented UnmarshalJSON/MarshalJSON methods.
Sure! This is already supported. Any type implementing custom JSON unmarshaler will be respected as you expect. Example
Let us know if it works for you, or you need anything else 🙏
@knoguchi making sure you've seen this one before I'm closing the issue
Thank you. I have one example that I can't figure out. I will post it shortly.
@knoguchi any news here?
Closing due to no response