iddm / serde-aux

An auxiliary serde library providing helpful functions for serialisation and deserialisation for containers, struct fields and others.
MIT License
152 stars 26 forks source link

Add `deserialize_default_from_null`. #4

Closed reitermarkus closed 5 years ago

reitermarkus commented 5 years ago

This add a helper for deserializing null values with Default::default().

reitermarkus commented 5 years ago

Added.

iddm commented 5 years ago

Thank you again!

reitermarkus commented 5 years ago

@vityafx, would be great if you could publish a new version with this included.

iddm commented 5 years ago

Yes, I wanted to do it yesterday but... I have done it just now, check it out.

reitermarkus commented 5 years ago

Thanks!