Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse nulls as None when using serde-well-known
Previously when deserializing a json blob that has a field present but set to null it would error with "invalid type: null, expected an RFC3339-formatted `Option<OffsetDateTime>`". When the field is present with a value of null serde treats this as Unit. The default implementation always raises a type error. This change parses it as None as a user would expect.
- Loading branch information