Function workflow_wasm::serde::preserve::deserialize
source ยท pub fn deserialize<'de, D, T>(
de: D,
) -> Result<T, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
T: JsCast,
Expand description
Deserialize any JsCast
value.
When used with the Derializer
in serde_wasm_bindgen
, this serializes the value by
passing it through as a JsValue
and casting it.
This function is compatible with the serde(deserialize_with)
derive annotation.