serde-wasm-bindgen icon indicating copy to clipboard operation
serde-wasm-bindgen copied to clipboard

Enabling #[serde(deserialize_with=...)]

Open halzy opened this issue 4 years ago • 1 comments

The code had been returning errors too early to allow for deserialize_with to work. If the visitor does not receive the expected type, it'll try deserialize_any so that conversions can happen.

halzy avatar Jun 19 '21 14:06 halzy

Hmm why does deserialize_with care about speicialized methods at all? I assumed it would just be called instead of whatever is defined as default implementation?

RReverser avatar Jul 11 '21 15:07 RReverser