Toromyx / schema_org_types_rs

Schema.org schemas as Rust types
https://docs.rs/schema_org_types
2 stars 1 forks source link

Implement fallible deserialization #2

Closed Toromyx closed 9 months ago

Toromyx commented 10 months ago

Sometimes data providers provide data which does not adhere 100% to the schema.

Currently serde completely fails to deserialize such data, even if the majority is usable. Think of and implement a way to work around this:

Toromyx commented 9 months ago

This is currently blocked by https://github.com/serde-rs/serde/issues/1587 because I don't want to re-implement the derivation of Deserialize so that i can have a custom deserialization for each class schema.