This crate provides some utilities for use with serde.
Currently, it provides MayBe<T>
, a deserializable that doesn't error if
something doesn't match a T
. For example, it enables the JSON:
json
{
"bar": []
}
to successfully deserialize into the Rust struct:
```rust
struct Foo {
bar: MayBe
as a foo.bar.is_not()
.