pub fn serde_from_js<'js, T: DeserializeOwned>(
_ctx: &Ctx<'js>,
value: Value<'js>,
) -> Result<T>Expand description
Inverse of serde_to_js — deserialize a JS value into a Rust type
via rquickjs-serde (direct Value -> T). Integral-float ->
integer coercion, undefined/function-property drop, Proxy and
cycle handling all hold (covered by the rquickjs-serde test suite),
so the option-bag call sites keep their prior semantics without our
own hand-rolled walker.